Revert "force sc_tokens size and token enumeration size to match"

This reverts commit d60ef405c9f3eca13dd7e505c8c330ec0241ff02.
This commit is contained in:
Yashas 2019-01-19 13:29:00 +05:30
parent d60ef405c9
commit 797fdfc06b
2 changed files with 2 additions and 5 deletions

View File

@ -421,10 +421,7 @@ enum {
teLOCAL, /* local variable (name or offset) */
teFUNCTN, /* Pawn function */
teNATIVE, /* native function */
teNONNEG, /* nonnegative integer */
tlexLAST = teNONNEG,
teNONNEG , /* nonnegative integer */
/* for assigment to "lastst" only (see SC1.C) */
tEXPR,
tENDLESS, /* endless loop */

View File

@ -2133,7 +2133,7 @@ SC_FUNC void lexinit(void)
_lexnewline=FALSE;
}
char *sc_tokens[tlexLAST-tFIRST+1] = {
char *sc_tokens[] = {
"*=", "/=", "%=", "+=", "-=", "<<=", ">>>=", ">>=", "&=", "^=", "|=",
"||", "&&", "==", "!=", "<=", ">=", "<<", ">>>", ">>", "++", "--",
"...", "..",