diff lwasm/lwasm.h @ 70:ceab04fd2969

Fixed premature installation of external reference under UNDEFEXTERN pragma; should not resolve to external references until after the initial parsing pass
author lost@l-w.ca
date Sun, 10 Apr 2011 13:15:12 -0600
parents ccaecdff3fc2
children 1f77ae5c3590
line wrap: on
line diff
--- a/lwasm/lwasm.h	Sat Apr 09 01:45:48 2011 -0600
+++ b/lwasm/lwasm.h	Sun Apr 10 13:15:12 2011 -0600
@@ -284,6 +284,7 @@
 	structtab_t *cstruct;				// current structure
 	lw_expr_t savedaddr;				// old address counter before struct started	
 	int exportcheck;					// set if we need to collapse out the section base to 0
+	int passno;							// set to the current pass number
 };
 
 #ifndef ___symbol_c_seen___