diff src/lwasm.h @ 91:718998b673ee

Added incomplete references to object output and added support for section base terms in expression handler
author lost
date Sat, 17 Jan 2009 05:56:40 +0000
parents 6097cb1486f8
children 81fc353d4d69
line wrap: on
line diff
--- a/src/lwasm.h	Sat Jan 17 05:07:45 2009 +0000
+++ b/src/lwasm.h	Sat Jan 17 05:56:40 2009 +0000
@@ -38,6 +38,7 @@
 {
 	int offset;						// offset into section
 	lwasm_expr_stack_t *expr;		// value definition
+	int context;					// symbol context (for local syms)
 	section_reloc_list_t *next;		// next relocation
 };
 
@@ -106,6 +107,7 @@
 	int addrset;		// set if this instruction sets the assembly address
 	int symaddr;		// set if this instruction sets a symbol addr with EQU or the like
 	int badop;			// bad operation - ignore it
+	int context;		// the symbol context for this line
 	
 	// the following are used for obj format - for external references, inter-section
 	// references, and intrasection relocations