diff lwasm/lwasm.h @ 115:344cfc25afec

Added initial infrastructure for pragma autobranchlength (suggested by Ebonhand on irc)
author lost@l-w.ca
date Mon, 08 Aug 2011 23:00:27 -0600
parents ed7f970f3688
children 697bc543368c
line wrap: on
line diff
--- a/lwasm/lwasm.h	Sun Aug 07 12:41:06 2011 -0600
+++ b/lwasm/lwasm.h	Mon Aug 08 23:00:27 2011 -0600
@@ -79,7 +79,8 @@
 	PRAGMA_IMPORTUNDEFEXPORT = 0x0010,	// imports symbol if undefined upon export
 	PRAGMA_PCASPCR = 0x0020,			// treats ,PC as ,PCR instead of constant offset
 	PRAGMA_SHADOW = 0x0040,				// allow macros to shadow builtin operations
-	PRAGMA_NOLIST = 0x0080				// don't show line in listing
+	PRAGMA_NOLIST = 0x0080,				// don't show line in listing
+	PRAGMA_AUTOBRANCHLENGTH = 0x0100	// automatically select proper length for relative branches
 };