Mercurial > hg-old > index.cgi
diff lwasm/pragma.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 |
line wrap: on
line diff
--- a/lwasm/pragma.c Fri Jun 12 05:25:41 2009 +0000 +++ b/lwasm/pragma.c Fri Aug 14 03:22:26 2009 +0000 @@ -117,6 +117,14 @@ { as -> pragmas &= ~PRAGMA_IMPORTUNDEFEXPORT; } + else if (!strcasecmp(pragma, "dollarnotlocal") || !strcasecmp(pragma, "nodollarlocal")) + { + as -> pragmas |= PRAGMA_DOLLARNOTLOCAL; + } + else if (!strcasecmp(pragma, "dollarlocal") || !strcasecmp(pragma, "nodollarnotlocal")) + { + as -> pragmas &= ~PRAGMA_DOLLARNOTLOCAL; + } else { if (error)