diff lwasm/lwasm.h @ 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 5d401d1eb3e9
children 4130ffdeb5c8
line wrap: on
line diff
--- a/lwasm/lwasm.h	Sat Mar 14 14:06:13 2015 -0600
+++ b/lwasm/lwasm.h	Mon Mar 16 09:27:20 2015 -0600
@@ -90,7 +90,8 @@
 	PRAGMA_EXPORT = 0x0200,				// export symbols by default, unless local
 	PRAGMA_SYMBOLNOCASE = 0x400,		// symbols defined under this pragma are matched case insensitively
 	PRAGMA_CONDUNDEFZERO = 0x800,		// treat undefined symbols as zero in conditionals during pass 1
-	PRAGMA_6800COMPAT = 0x1000			// enable 6800 compatibility opcodes
+	PRAGMA_6800COMPAT = 0x1000,			// enable 6800 compatibility opcodes
+	PRAGMA_FORWARDREFMAX = 0x2000		// force incomplete references on pass 1 to maximum mode
 };