Mercurial > hg > index.cgi
diff lwasm/pragma.c @ 53:cb4efc47ce9d
Allow macros to shadow/override builtin operations when the "shadow" pragma is active, which is NOT the default
author | lost@l-w.ca |
---|---|
date | Tue, 05 Apr 2011 21:48:51 -0600 |
parents | 7317fbe024af |
children | 337301ddf74a |
line wrap: on
line diff
--- a/lwasm/pragma.c Tue Apr 05 21:48:22 2011 -0600 +++ b/lwasm/pragma.c Tue Apr 05 21:48:51 2011 -0600 @@ -42,6 +42,7 @@ { "cescapes", PRAGMA_CESCAPES }, { "importundefexport", PRAGMA_IMPORTUNDEFEXPORT }, { "pcaspcr", PRAGMA_PCASPCR }, + { "shadow", PRAGMA_SHADOW }, { 0, 0 } }; @@ -53,6 +54,7 @@ { "nocescapes", PRAGMA_CESCAPES }, { "noimportundefexport", PRAGMA_IMPORTUNDEFEXPORT }, { "nopcaspcr", PRAGMA_PCASPCR }, + { "noshadow", PRAGMA_SHADOW }, { 0, 0 } };