#define IFENT struct _ifent
// Tunable definitions
-#define LNSIZ 256 // Maximum size of a line of text
+#define LNSIZ 1024 // Maximum size of a line of text
#define TOKBUFSIZE 400 // 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 DOTW 'W' // .w or .W
#define DOTL 'L' // .l or .L
#define DOTI 'I' // .l or .L
+#define DOTX 'X' // .x or .X
+#define DOTD 'D' // .d or .D
+#define DOTP 'P' // .p or .P
+#define DOTQ 'Q' // .q or .Q (essentially an alias for P)
#define ENDEXPR 'E' // End of expression
// ^^ operators
// Information about a macro invocation
IMACRO {
IMACRO * im_link; // Pointer to ancient IMACROs
-// LONG * im_nextln; // Next line to include
struct LineList * im_nextln; // Next line to include
WORD im_nargs; // # of arguments supplied on invocation
WORD im_siz; // Size suffix supplied on invocation
// Exported variables
extern int lnsave;
-extern int curlineno;
+extern uint16_t curlineno;
extern char * curfname;
extern WORD cfileno;
extern TOKEN * tok;
extern char lntag;
extern char tolowertab[];
extern INOBJ * cur_inobj;
-extern unsigned orgactive;
-extern unsigned orgaddr;
-extern LONG sloc;
extern int mjump_align;
extern char * string[];
int TokenizeLine(void);
int fpop(void);
int d_goto(WORD);
-//int d_goto(void);
INOBJ * a_inobj(int);
void DumpTokenBuffer(void);
#endif // __TOKEN_H__
+