Mercurial > hg > index.cgi
comparison lwasm/pragma.c @ 474:74d0c394666e
Add "noexpandcond" pragma (cleans up listings)
This pragma will suppress listing of conditionals and any statements that
appear within a false conditional block.
author | William Astle <lost@l-w.ca> |
---|---|
date | Fri, 02 Nov 2018 21:07:50 -0600 |
parents | 8181ddd707f1 |
children | 1260b4eec5a5 |
comparison
equal
deleted
inserted
replaced
473:8181ddd707f1 | 474:74d0c394666e |
---|---|
75 { "newsource", "nonewsource", PRAGMA_NEWSOURCE }, | 75 { "newsource", "nonewsource", PRAGMA_NEWSOURCE }, |
76 { "nooldsource", "oldsource", PRAGMA_NEWSOURCE }, | 76 { "nooldsource", "oldsource", PRAGMA_NEWSOURCE }, |
77 { "operandsizewarning", "nooperandsizewarning", PRAGMA_OPERANDSIZE }, | 77 { "operandsizewarning", "nooperandsizewarning", PRAGMA_OPERANDSIZE }, |
78 { "emuext", "noemuext", PRAGMA_EMUEXT }, | 78 { "emuext", "noemuext", PRAGMA_EMUEXT }, |
79 { "nooutput", "output", PRAGMA_NOOUTPUT }, | 79 { "nooutput", "output", PRAGMA_NOOUTPUT }, |
80 { "noexpandcond", "expandcond", PRAGMA_NOEXPANDCOND }, | |
80 { 0, 0, 0 } | 81 { 0, 0, 0 } |
81 }; | 82 }; |
82 | 83 |
83 int parse_pragma_helper(char *p) | 84 int parse_pragma_helper(char *p) |
84 { | 85 { |