diff lwasm/macro.c @ 222:03f7192fcd20

Add --unicorns option for IDE integration This version of unicorns adds RESOURCE: lines to the output which specify files and macros discovered during the assembly process.
author William Astle <lost@l-w.ca>
date Sun, 15 Jul 2012 10:50:46 -0600
parents afd50d6b4113
children 8764142b3192
line wrap: on
line diff
--- a/lwasm/macro.c	Sun Jul 15 10:27:43 2012 -0600
+++ b/lwasm/macro.c	Sun Jul 15 10:50:46 2012 -0600
@@ -75,6 +75,7 @@
 	m -> lines = NULL;
 	m -> numlines = 0;
 	m -> flags = 0;
+	m -> definedat = l;
 	as -> macros = m;
 
 	t = *p;