diff lwasm/pragma.c @ 343:98f3e016cfd8

Add pragma to turn off forward reference optimization Much source code doesn't benefit much, if at all, from forward reference optimization. Add "pragma forwardrefmax" to turn off such optimization in the event that it is not required and long assembly times result.
author William Astle <lost@l-w.ca>
date Mon, 16 Mar 2015 09:27:20 -0600
parents 507f442dc71e
children c6d2a1f54e0c
line wrap: on
line diff
--- a/lwasm/pragma.c	Sat Mar 14 14:06:13 2015 -0600
+++ b/lwasm/pragma.c	Mon Mar 16 09:27:20 2015 -0600
@@ -61,6 +61,7 @@
 	{ "nosymbolcase", "symbolcase", PRAGMA_SYMBOLNOCASE },
 	{ "condundefzero", "nocondundefzero", PRAGMA_CONDUNDEFZERO },
 	{ "6800compat", "no6800compat", PRAGMA_6800COMPAT },
+	{ "forwardrefmax", "noforwardrefmax", PRAGMA_FORWARDREFMAX },
 	{ 0, 0, 0}
 };