summaryrefslogtreecommitdiff
path: root/src/parser/grammar.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-10-12 15:54:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-10-12 15:54:00 +0800
commit015392d5769c1694bde7f75cd2f541e6a18dab3c (patch)
tree0b438334f371c5af6cacc417220f84f719b757c8 /src/parser/grammar.lua
parent3b8a6b8bcc14ea279a4e6c005e740777b01ab623 (diff)
downloadlua-language-server-015392d5769c1694bde7f75cd2f541e6a18dab3c.zip
main
Diffstat (limited to 'src/parser/grammar.lua')
-rw-r--r--src/parser/grammar.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/grammar.lua b/src/parser/grammar.lua
index cb2d2e6f..3bf40939 100644
--- a/src/parser/grammar.lua
+++ b/src/parser/grammar.lua
@@ -233,8 +233,8 @@ TableField <- NewIndex / NewField / Exp
NewIndex <- BL Exp BR ASSIGN Exp
NewField <- Name ASSIGN Exp
-Function <- (FUNCTION {| FuncName? |} PL ArgList? PR) -> FunctionDef
- (!END Action)* -> Function
+Function <- (FUNCTION {| FuncName? |} PL ArgList? PR) -> FunctionDef
+ (!END Action)* -> Function
END
FuncName <- Name (FuncSuffix)*
FuncSuffix <- DOT Name