-#include "../common/filepos.h"
+/* common */
+#include "filepos.h"
TOK_RBRACK, /* ] */
TOK_MACPARAM, /* Macro parameter, not generated by scanner */
+ TOK_REPCOUNTER, /* Repeat counter, not generated by scanner */
/* The next ones are tokens for the pseudo instructions. Keep together! */
TOK_FIRSTPSEUDO,
TOK_BYTE,
TOK_CASE,
TOK_CODE,
- TOK_CONCAT,
+ TOK_CONCAT,
+ TOK_CONDES,
TOK_CONST,
+ TOK_CONSTRUCTOR,
TOK_CPU,
TOK_DATA,
+ TOK_DBG,
TOK_DBYT,
TOK_DEBUGINFO,
TOK_DEFINE,
TOK_DEFINED,
+ TOK_DESTRUCTOR,
TOK_DWORD,
TOK_ELSE,
TOK_ELSEIF,
TOK_FARADDR,
TOK_FEATURE,
TOK_FILEOPT,
+ TOK_FORCEWORD,
TOK_GLOBAL,
TOK_GLOBALZP,
TOK_I16,
TOK_IMPORTZP,
TOK_INCBIN,
TOK_INCLUDE,
+ TOK_LEFT,
TOK_LINECONT,
TOK_LIST,
TOK_LISTBYTES,
TOK_RELOC,
TOK_REPEAT,
TOK_RES,
+ TOK_RIGHT,
TOK_RODATA,
TOK_SEGMENT,
TOK_SMART,
+ TOK_STRAT,
TOK_STRING,
+ TOK_STRLEN,
TOK_SUNPLUS,
+ TOK_TCOUNT,
+ TOK_WARNING,
TOK_WORD,
TOK_XMATCH,
TOK_ZEROPAGE,
-const char* GetFileName (unsigned char Name);
-/* Get the name of a file where the name index is known */
-
void NewInputFile (const char* Name);
/* Open a new input file */
void NewInputData (const char* Data, int Malloced);
/* Add a chunk of input data to the input stream */
+void LocaseSVal (void);
+/* Make SVal lower case */
+
void UpcaseSVal (void);
/* Make SVal upper case */
* or -1 if the keyword was not found.
*/
-void WriteFiles (void);
-/* Write the list of input files to the object file */
-
void InitScanner (const char* InFile);
/* Initialize the scanner, open the given input file */