Mercurial > hg > index.cgi
comparison lwasm/pragma.c @ 210:5d969517db74
Added condundefzero pragma
Added pragma condundefzero to allow the assembler to treat symbols that are
undefined in a conditional expression as if their value had been set to
zero.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 09 Jun 2012 16:25:19 -0600 |
parents | 07e1fac76321 |
children | 0c4b3e8b4d0b |
comparison
equal
deleted
inserted
replaced
209:52d9dd71f555 | 210:5d969517db74 |
---|---|
57 { "nolist", "list", PRAGMA_NOLIST }, | 57 { "nolist", "list", PRAGMA_NOLIST }, |
58 { "autobranchlength", "noautobranchlength", PRAGMA_AUTOBRANCHLENGTH }, | 58 { "autobranchlength", "noautobranchlength", PRAGMA_AUTOBRANCHLENGTH }, |
59 { "export", "noexport", PRAGMA_EXPORT }, | 59 { "export", "noexport", PRAGMA_EXPORT }, |
60 { "symbolnocase", "nosymbolnocase", PRAGMA_SYMBOLNOCASE }, | 60 { "symbolnocase", "nosymbolnocase", PRAGMA_SYMBOLNOCASE }, |
61 { "nosymbolcase", "symbolcase", PRAGMA_SYMBOLNOCASE }, | 61 { "nosymbolcase", "symbolcase", PRAGMA_SYMBOLNOCASE }, |
62 { "condundefzero", "nocondundefzero", PRAGMA_CONDUNDEFZERO }, | |
62 { 0, 0, 0} | 63 { 0, 0, 0} |
63 }; | 64 }; |
64 | 65 |
65 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr) | 66 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr) |
66 { | 67 { |