diff 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
line wrap: on
line diff
--- a/lwasm/pragma.c	Thu Nov 01 23:07:03 2018 -0600
+++ b/lwasm/pragma.c	Fri Nov 02 21:07:50 2018 -0600
@@ -77,6 +77,7 @@
 	{ "operandsizewarning", "nooperandsizewarning", PRAGMA_OPERANDSIZE },
 	{ "emuext", "noemuext", PRAGMA_EMUEXT },
 	{ "nooutput", "output", PRAGMA_NOOUTPUT },
+	{ "noexpandcond", "expandcond", PRAGMA_NOEXPANDCOND },
 	{ 0, 0, 0 }
 };