mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-25 17:40:30 +00:00
Fix goto/:: tokens erroring in error reporting
This commit is contained in:
parent
eb3e8ba677
commit
af12b3a0ea
@ -58,6 +58,7 @@ local token_names = setmetatable({
|
|||||||
[tokens.DO] = code("do"),
|
[tokens.DO] = code("do"),
|
||||||
[tokens.DOT] = code("."),
|
[tokens.DOT] = code("."),
|
||||||
[tokens.DOTS] = code("..."),
|
[tokens.DOTS] = code("..."),
|
||||||
|
[tokens.DOUBLE_COLON] = code("::"),
|
||||||
[tokens.ELSE] = code("else"),
|
[tokens.ELSE] = code("else"),
|
||||||
[tokens.ELSEIF] = code("elseif"),
|
[tokens.ELSEIF] = code("elseif"),
|
||||||
[tokens.END] = code("end"),
|
[tokens.END] = code("end"),
|
||||||
@ -67,6 +68,7 @@ local token_names = setmetatable({
|
|||||||
[tokens.FOR] = code("for"),
|
[tokens.FOR] = code("for"),
|
||||||
[tokens.FUNCTION] = code("function"),
|
[tokens.FUNCTION] = code("function"),
|
||||||
[tokens.GE] = code(">="),
|
[tokens.GE] = code(">="),
|
||||||
|
[tokens.GOTO] = code("goto"),
|
||||||
[tokens.GT] = code(">"),
|
[tokens.GT] = code(">"),
|
||||||
[tokens.IF] = code("if"),
|
[tokens.IF] = code("if"),
|
||||||
[tokens.IN] = code("in"),
|
[tokens.IN] = code("in"),
|
||||||
|
Loading…
Reference in New Issue
Block a user