diff lwasm/pass1.c @ 236:a58f49a77441

Added os9 target, pragma to control whether $ localizes a symbol, and fixed some condition nesting bugs
author lost
date Fri, 14 Aug 2009 03:22:26 +0000
parents bae1e3ecdce1
children f9f01a499525
line wrap: on
line diff
--- a/lwasm/pass1.c	Fri Jun 12 05:25:41 2009 +0000
+++ b/lwasm/pass1.c	Fri Aug 14 03:22:26 2009 +0000
@@ -164,6 +164,8 @@
 	as -> passnum = 1;
 	as -> addr = 0;
 	as -> nextcontext = 1;
+
+	as -> inmod = 0;
 	
 	debug_message(1, "Entering pass 1");
 	if (lwasm_read_file(as, as -> infile) < 0)