Mercurial > hg > index.cgi
diff lwasm/pragma.c @ 206:080bb67d84f2
Add export pragma
Added a pragma "export" which causes all exportable symbols to be exported
automatically.
author | William Astle <lost@l-w.ca> |
---|---|
date | Thu, 24 May 2012 17:28:15 -0600 |
parents | b6b8c2645f5c |
children | 07e1fac76321 |
line wrap: on
line diff
--- a/lwasm/pragma.c Wed May 23 19:37:30 2012 -0600 +++ b/lwasm/pragma.c Thu May 24 17:28:15 2012 -0600 @@ -56,6 +56,7 @@ { "shadow", "noshadow", PRAGMA_SHADOW }, { "nolist", "list", PRAGMA_NOLIST }, { "autobranchlength", "noautobranchlength", PRAGMA_AUTOBRANCHLENGTH }, + { "export", "noexport", PRAGMA_EXPORT }, { 0, 0, 0} };