X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=token.h;h=310a9c258be013e885ac83cdeb971ec3c0a458d2;hb=58c0626339e0d7f57818835b068c3d666dc82459;hp=1dc3a8a817ff6a3ea8b22e38878b929604c7719f;hpb=cbc8347d4ffea164ca05b03e4e3be39945be8777;p=rmac diff --git a/token.h b/token.h index 1dc3a8a..310a9c2 100644 --- a/token.h +++ b/token.h @@ -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 *);