summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/parser/newparser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index 16cdc28b..c160889b 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -3521,7 +3521,7 @@ function parseAction()
return parseRepeat()
end
- if token == 'goto' then
+ if token == 'goto' and isKeyWord 'goto' then
return parseGoTo()
end