comparison 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
comparison
equal deleted inserted replaced
359:f50a54d0293a 360:7d91ab7ac7d6
51 51
52 for (cp = sym; *cp; cp++) 52 for (cp = sym; *cp; cp++)
53 { 53 {
54 if (*cp == '@' || *cp == '?') 54 if (*cp == '@' || *cp == '?')
55 islocal = 1; 55 islocal = 1;
56 if (*cp == '$' && !(as -> pragmas & PRAGMA_DOLLARNOTLOCAL)) 56 if (*cp == '$' && !(CURPRAGMA(cl, PRAGMA_DOLLARNOTLOCAL)))
57 islocal = 1; 57 islocal = 1;
58 58
59 // bad symbol 59 // bad symbol
60 if (*cp < 0x80 && !strchr(SYMCHARS, *cp)) 60 if (*cp < 0x80 && !strchr(SYMCHARS, *cp))
61 { 61 {