Mercurial > hg-old > index.cgi
diff lwasm/pragma.c @ 198:6ddc861a07d4
Allow export to import undefined symbols
author | lost |
---|---|
date | Sun, 22 Mar 2009 18:26:59 +0000 |
parents | 566943f98f8d |
children | 3f9d299d2477 |
line wrap: on
line diff
--- a/lwasm/pragma.c Sun Mar 22 18:01:30 2009 +0000 +++ b/lwasm/pragma.c Sun Mar 22 18:26:59 2009 +0000 @@ -109,6 +109,14 @@ { as -> pragmas &= ~PRAGMA_CESCAPES; } + else if (!strcasecmp(pragma, "importundefexport")) + { + as -> pragmas |= PRAGMA_IMPORTUNDEFEXPORT; + } + else if (!strcasecmp(pragma, "noimportundefexport")) + { + as -> pragmas &= ~PRAGMA_IMPORTUNDEFEXPORT; + } else { if (error)