X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fca65%2Fscanner.h;h=f6fddc58810a36454fbd97592e8914ca7c9af63a;hb=e67f4dcbd6a50c170d3e45da4fdcd08e4f6caeab;hp=4c43b6c85e3a7b918521798b6752508c20602624;hpb=3c5ae1b3c4a8a38bacb652f86ff27106652c8b2e;p=cc65 diff --git a/src/ca65/scanner.h b/src/ca65/scanner.h index 4c43b6c85..f6fddc588 100644 --- a/src/ca65/scanner.h +++ b/src/ca65/scanner.h @@ -38,7 +38,8 @@ -#include "../common/filepos.h" +/* common */ +#include "filepos.h" @@ -119,14 +120,18 @@ enum Token { 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, @@ -142,6 +147,7 @@ enum Token { TOK_FARADDR, TOK_FEATURE, TOK_FILEOPT, + TOK_FORCEWORD, TOK_GLOBAL, TOK_GLOBALZP, TOK_I16, @@ -224,9 +230,6 @@ extern int ForcedEnd; /* Force end of assembly */ -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 */ @@ -236,6 +239,9 @@ void DoneInputFile (void); 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 */ @@ -255,9 +261,6 @@ int GetSubKey (const char** Keys, unsigned Count); * 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 */