summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-12 17:44:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-12 17:44:01 +0800
commit0bb7a2f2255e6d1a02c0e56296e8a8f89a22eeb4 (patch)
treeeab6bcbc16a3ce5d62e12002a6250b50ed30e22f
parentfa91a4ddca10521eab40de9b21fbf79ddc86f7aa (diff)
downloadlua-language-server-0bb7a2f2255e6d1a02c0e56296e8a8f89a22eeb4.zip
update parser
-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