summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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