diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-05 21:31:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-06 08:31:46 +0200 |
commit | 45adae8fd6e4a6f63220b619d16fb5bd06b82d95 (patch) | |
tree | 22354d3e8d1e6e9ab0618962f51600efa47836c2 /basic/source/inc/token.hxx | |
parent | f7a3bdf623ca0c8db81997d2b60ed4acb3b51149 (diff) |
Avoid reserved identifiers
Change-Id: Ibba1a36d4f3744fa68f7e9d0076c997e076262cb
Diffstat (limited to 'basic/source/inc/token.hxx')
-rw-r--r-- | basic/source/inc/token.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/inc/token.hxx b/basic/source/inc/token.hxx index 4b2f42ad1523..e3b3a8a5473b 100644 --- a/basic/source/inc/token.hxx +++ b/basic/source/inc/token.hxx @@ -47,7 +47,7 @@ enum SbiToken { // commands: FIRSTKWD = 0x40, AS = FIRSTKWD, ALIAS, ASSIGN, - CALL, CASE, CLOSE, COMPARE, _CONST_, + CALL, CASE, CLOSE, COMPARE, CONST_, DECLARE, DIM, DO, // in the order of the data type enums! @@ -57,13 +57,13 @@ enum SbiToken { DATATYPE1, TINTEGER = DATATYPE1, TLONG, TSINGLE, TDOUBLE, TCURRENCY, TDATE, TSTRING, TOBJECT, - _ERROR_, TBOOLEAN, TVARIANT, TBYTE, + ERROR_, TBOOLEAN, TVARIANT, TBYTE, DATATYPE2 = TBYTE, EACH, ELSE, ELSEIF, END, ERASE, EXIT, FOR, FUNCTION, GET, GLOBAL, GOSUB, GOTO, - IF, _IN_, INPUT, + IF, IN_, INPUT, LET, LINE, LINEINPUT, LOCAL, LOOP, LPRINT, LSET, NAME, NEW, NEXT, ON, OPEN, OPTION, ATTRIBUTE, IMPLEMENTS, @@ -86,9 +86,9 @@ enum SbiToken { IMP, CAT, LIKE, IS, TYPEOF, // miscellaneous: FIRSTEXTRA, - NUMBER=FIRSTEXTRA, FIXSTRING, SYMBOL, _CDECL_, BYVAL, BYREF, + NUMBER=FIRSTEXTRA, FIXSTRING, SYMBOL, CDECL_, BYVAL, BYREF, OUTPUT, RANDOM, APPEND, BINARY, ACCESS, - LOCK, READ, PRESERVE, BASE, ANY, LIB, _OPTIONAL_, + LOCK, READ, PRESERVE, BASE, ANY, LIB, OPTIONAL_, BASIC_EXPLICIT, COMPATIBLE, CLASSMODULE, PARAMARRAY, WITHEVENTS, // from here there are JavaScript-tokens (same enum so that same type) |