Mercurial > hg > index.cgi
comparison lwasm/pragma.c @ 379:d791d47afc48
Add m80ext pragma for Macro-80C compatibility and ignore END in includes
For compatibility with Macro-80C source, add pragma for it. Also implement
ignoring END in include files rather than treating it as the total end of
assembly.
Thanks to Erik G <erik@6809.org> for the patch.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 13 Jul 2015 20:59:02 -0600 |
parents | 67373a053c49 |
children | 6ee9c67a0f8d |
comparison
equal
deleted
inserted
replaced
378:b0ec15f95563 | 379:d791d47afc48 |
---|---|
67 { "c", "noc", PRAGMA_C }, | 67 { "c", "noc", PRAGMA_C }, |
68 { "cc", "nocc", PRAGMA_CC }, | 68 { "cc", "nocc", PRAGMA_CC }, |
69 { "cd", "nocd", PRAGMA_CD }, | 69 { "cd", "nocd", PRAGMA_CD }, |
70 { "ct", "noct", PRAGMA_CT }, | 70 { "ct", "noct", PRAGMA_CT }, |
71 { "qrts", "noqrts", PRAGMA_QRTS }, | 71 { "qrts", "noqrts", PRAGMA_QRTS }, |
72 { "m80ext", "nom80ext", PRAGMA_M80EXT }, | |
72 { 0, 0, 0 } | 73 { 0, 0, 0 } |
73 }; | 74 }; |
74 | 75 |
75 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr) | 76 int parse_pragma_string(asmstate_t *as, char *str, int ignoreerr) |
76 { | 77 { |