From 015392d5769c1694bde7f75cd2f541e6a18dab3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 12 Oct 2018 15:54:00 +0800 Subject: main --- src/parser/grammar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parser/grammar.lua') 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 -- cgit v1.2.3