changeset 229:164487152dd9

Add flag to output stream for end of unicorns Unicorn information ends at UNICORNSAWAY: to allow easy identification of the assembly listing.
author William Astle <lost@l-w.ca>
date Sun, 15 Jul 2012 21:46:29 -0600
parents 042c7b74faf0
children e09985968e64
files lwasm/main.c lwasm/unicorns.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/main.c	Sun Jul 15 21:43:18 2012 -0600
+++ b/lwasm/main.c	Sun Jul 15 21:46:29 2012 -0600
@@ -323,9 +323,6 @@
 		debug_message(&asmstate, 50, "Invoking unicorns");
 		lwasm_do_unicorns(&asmstate);
 	}
-	else
-	{
-		do_list(&asmstate);
-	}
+	do_list(&asmstate);
 	exit(0);
 }
--- a/lwasm/unicorns.c	Sun Jul 15 21:43:18 2012 -0600
+++ b/lwasm/unicorns.c	Sun Jul 15 21:46:29 2012 -0600
@@ -122,5 +122,5 @@
 		}
 	}
 	
-	do_list(as);
+	fprintf(stdout, "UNICORNSAWAY:\n");
 }