Mercurial > hg > index.cgi
comparison lwasm/pragma.c @ 375:71f507f404f1
Add "testmode" pragma
Add a pragma to allow testing more easily.
Thanks to Erik G <erik@6809.org> for the patch.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 13 Jul 2015 20:35:16 -0600 |
parents | 8764142b3192 |
children | 35d4213e6657 |
comparison
equal
deleted
inserted
replaced
374:8e25147c2aa8 | 375:71f507f404f1 |
---|---|
61 { "nosymbolcase", "symbolcase", PRAGMA_SYMBOLNOCASE }, | 61 { "nosymbolcase", "symbolcase", PRAGMA_SYMBOLNOCASE }, |
62 { "condundefzero", "nocondundefzero", PRAGMA_CONDUNDEFZERO }, | 62 { "condundefzero", "nocondundefzero", PRAGMA_CONDUNDEFZERO }, |
63 { "6809", "6309", PRAGMA_6809 }, | 63 { "6809", "6309", PRAGMA_6809 }, |
64 { "6800compat", "no6800compat", PRAGMA_6800COMPAT }, | 64 { "6800compat", "no6800compat", PRAGMA_6800COMPAT }, |
65 { "forwardrefmax", "noforwardrefmax", PRAGMA_FORWARDREFMAX }, | 65 { "forwardrefmax", "noforwardrefmax", PRAGMA_FORWARDREFMAX }, |
66 { "testmode", "notestmode", PRAGMA_TESTMODE }, | |
66 { 0, 0, 0} | 67 { 0, 0, 0} |
67 }; | 68 }; |
68 | 69 |
69 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr) | 70 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr) |
70 { | 71 { |