//
-// RMAC - Reboot's Macro Assembler for all Atari computers
+// RMAC - Renamed Macro Assembler for all Atari computers
// TOKEN.H - Token Handling
-// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends
+// Copyright (C) 199x Landon Dyer, 2011-2021 Reboot and Friends
// RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
// Source utilised with the kind permission of Landon Dyer
//
#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 7 // 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 ':')
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;
extern int mjump_align;
extern char * string[];
extern int optimizeOff;
+extern FILEREC * filerec;
// Exported functions
int include(int, char *);