diff lwasm/lwasm.h @ 261:c79b3c88adbc 2.x

Added --depend option to generate a list of dependencies
author lost
date Sat, 26 Dec 2009 08:24:35 +0000
parents e27279180a73
children
line wrap: on
line diff
--- a/lwasm/lwasm.h	Sat Dec 26 02:36:43 2009 +0000
+++ b/lwasm/lwasm.h	Sat Dec 26 08:24:35 2009 +0000
@@ -202,7 +202,8 @@
 	int nextcontext;			// next context number
 	int skiplines;				// number of lines to skip
 	int instruct;				// are we currently in a structure def?
-	
+	int deptrack;				// are we doing dependency tracking?
+
 	// items used only for the "object" target
 	sectiontab_t *sections;		// pointer to section table
 	sectiontab_t *csect;		// current section - NULL if not in one
@@ -219,6 +220,9 @@
 	
 	char **includedirs;			// include path
 	int nincludedirs;			// number of entries in include path
+
+	int nincfiles;				// number of included files
+	char **incfiles;			// included files
 } asmstate_t;
 
 // do not rewrite XXX,r to ,r if XXX evaluates to 0