diff lwasm/instab.h @ 360:7d91ab7ac7d6

Indexed stage 2; set line structure to track pragmas in effect for that line
author lost@starbug
date Thu, 01 Apr 2010 18:39:40 -0600
parents 11a95c6414b4
children fbb7bfed8076
line wrap: on
line diff
--- a/lwasm/instab.h	Wed Mar 31 21:57:45 2010 -0600
+++ b/lwasm/instab.h	Thu Apr 01 18:39:40 2010 -0600
@@ -31,7 +31,7 @@
 	char *opcode;				/* the mneumonic */
 	int ops[4];					/* opcode values for up to four addr modes */
 	void (*parse)(asmstate_t *as, line_t *l, char **optr);	/* parse operand for insn */
-	void (*resolve)(asmstate_t *as, line_t *l);				/* resolve instruction to code */
+	void (*resolve)(asmstate_t *as, line_t *l, int force);				/* resolve instruction to code */
 	void (*emit)(asmstate_t *as, line_t *l);				/* resolve instruction to code */
 	int flags;					/* flag for this instruction */
 } instab_t;
@@ -47,7 +47,7 @@
 
 
 #define PARSEFUNC(fn)	void (fn)(asmstate_t *as, line_t *l, char **p)
-#define RESOLVEFUNC(fn)	void (fn)(asmstate_t *as, line_t *l)
+#define RESOLVEFUNC(fn)	void (fn)(asmstate_t *as, line_t *l, int force)
 #define EMITFUNC(fn)	void (fn)(asmstate_t *as, line_t *l)
 
 #ifndef __instab_c_seen__