diff lwasm/symbol.c @ 360:7d91ab7ac7d6

Indexed stage 2; set line structure to track pragmas in effect for that line
author lost@starbug
date Thu, 01 Apr 2010 18:39:40 -0600
parents a82c55070624
children d96c30e60ddf
line wrap: on
line diff
--- a/lwasm/symbol.c	Wed Mar 31 21:57:45 2010 -0600
+++ b/lwasm/symbol.c	Thu Apr 01 18:39:40 2010 -0600
@@ -53,7 +53,7 @@
 	{
 		if (*cp == '@' || *cp == '?')
 			islocal = 1;
-		if (*cp == '$' && !(as -> pragmas & PRAGMA_DOLLARNOTLOCAL))
+		if (*cp == '$' && !(CURPRAGMA(cl, PRAGMA_DOLLARNOTLOCAL)))
 			islocal = 1;
 		
 		// bad symbol