summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-19 17:59:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-19 17:59:32 +0800
commit2566c29c3714cd3db626ebd8b51604b764be9180 (patch)
treedd7d91aae4bcf1bfb6195d9076178d2763cc2e87 /src
parent3fd972facc6dfb859d71899309723243b7b93880 (diff)
downloadlua-language-server-2566c29c3714cd3db626ebd8b51604b764be9180.zip
修正bug
Diffstat (limited to 'src')
-rw-r--r--src/parser/grammar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar.lua b/src/parser/grammar.lua
index 748104ac..3c587b12 100644
--- a/src/parser/grammar.lua
+++ b/src/parser/grammar.lua
@@ -264,7 +264,7 @@ Do <- DO -> DoDef
Break <- BREAK
-Return <- RETURN ExpList?
+Return <- RETURN !END ExpList?
Label <- LABEL Name LABEL