diff src/pass1.c @ 54:360d53062bb9

Fixed typo in instruction table and added END directive
author lost
date Sun, 04 Jan 2009 20:38:12 +0000
parents 21ae0fab469b
children b1d81800bc91
line wrap: on
line diff
--- a/src/pass1.c	Sun Jan 04 20:28:30 2009 +0000
+++ b/src/pass1.c	Sun Jan 04 20:38:12 2009 +0000
@@ -148,6 +148,8 @@
 			if (!(as -> lineshead))
 				as -> lineshead = nl;
 			lwasm_parse_line(as, nl);
+			if (as -> endseen)
+				break;
 		}
 		if (c == EOF)
 			break;