remove the unused tDBLCOLON token

This commit is contained in:
Yashas 2018-12-25 20:59:51 +05:30
parent 1c0992cd03
commit a9970bb452
2 changed files with 2 additions and 3 deletions

View File

@ -345,9 +345,8 @@ enum {
tDEC, /* -- */
tELLIPS, /* ... */
tDBLDOT, /* .. */
tDBLCOLON, /* :: */
tMIDDLE = tDBLCOLON, /* value of last multi-character operator */
tMIDDLE = tDBLDOT, /* value of last multi-character operator */
/* reserved words (statements) */
tASSERT,

View File

@ -2136,7 +2136,7 @@ SC_FUNC void lexinit(void)
char *sc_tokens[] = {
"*=", "/=", "%=", "+=", "-=", "<<=", ">>>=", ">>=", "&=", "^=", "|=",
"||", "&&", "==", "!=", "<=", ">=", "<<", ">>>", ">>", "++", "--",
"...", "..", "::",
"...", "..",
"assert", "*begin", "break", "case", "char", "const", "continue", "default",
"defined", "do", "else", "emit", "__emit", "*end", "enum", "exit", "for",
"forward", "goto", "if", "native", "new", "operator", "public", "return",