diff lwasm/lwasm.h @ 81:428068681cbf

Added nolist pragma to suppress listing output of non-code generating lines
author Lost Wizard (lost@starbug3)
date Wed, 25 May 2011 19:13:33 -0600
parents 1f77ae5c3590
children ed7f970f3688
line wrap: on
line diff
--- a/lwasm/lwasm.h	Wed May 18 20:09:33 2011 -0600
+++ b/lwasm/lwasm.h	Wed May 25 19:13:33 2011 -0600
@@ -78,7 +78,8 @@
 	PRAGMA_CESCAPES = 0x0008,			// allow C style escapes in fcc, fcs, fcn, etc.
 	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_SHADOW = 0x0040,				// allow macros to shadow builtin operations
+	PRAGMA_NOLIST = 0x0080				// don't show line in listing
 };
 
 
@@ -185,6 +186,7 @@
 {
 	symbol_flag_set = 1,				// symbol was used with "set"
 	symbol_flag_nocheck = 2,			// do not check symbol characters
+	symbol_flag_nolist = 4,				// no not show symbol in symbol table
 	symbol_flag_none = 0				// no flags
 };