]> Shamusworld >> Repos - rmac/blobdiff - token.h
.equr overhaul part 4: handle equrundef (and the other permutations of the directive)
[rmac] / token.h
diff --git a/token.h b/token.h
index 1dc3a8a817ff6a3ea8b22e38878b929604c7719f..16cd8cb45c561561154c8fc5cfc34e69f2dfefd8 100644 (file)
--- a/token.h
+++ b/token.h
@@ -30,7 +30,7 @@
 #define TOKBUFSIZE      4096           // Size of token-line buffer
 #define QUANTUM         4096L          // # bytes to eat at a time from a file
 #define LNBUFSIZ        (QUANTUM*2)    // Size of file's buffer
-#define KWSIZE                               // Maximum size of keyword in kwtab.h
+#define KWSIZE          10                     // Maximum size of keyword in kwtab.h
 
 // (Normally) non-printable tokens
 #define COLON           ':'                    // : (grumble: GNUmacs hates ':')
@@ -157,6 +157,14 @@ IREPT {
        uint32_t lineno;                // Repeat line number (Convert this to global instead of putting it here?)
 };
 
+// File record, used to maintain a list of every include file ever visited
+#define FILEREC struct _filerec
+FILEREC
+{
+   FILEREC * frec_next;
+   char * frec_name;
+};
+
 // Exported variables
 extern int lnsave;
 extern uint32_t curlineno;
@@ -170,6 +178,7 @@ extern INOBJ * cur_inobj;
 extern int mjump_align;
 extern char * string[];
 extern int optimizeOff;
+extern FILEREC * filerec;
 
 // Exported functions
 int include(int, char *);