diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-03 09:58:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-03 09:58:12 +0800 |
commit | 8315f15e5316ed0e1d95df5d957a3e95bf3c131f (patch) | |
tree | af41908a4286ecea725736c3a7f22ade4cd512ca /server/src | |
parent | a86ddc73a90586b03d3498d93a08c0533bbe24b8 (diff) | |
download | lua-language-server-8315f15e5316ed0e1d95df5d957a3e95bf3c131f.zip |
更新语法解析
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/parser/grammar.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua index dea6d38e..6ab9ded0 100644 --- a/server/src/parser/grammar.lua +++ b/server/src/parser/grammar.lua @@ -367,7 +367,9 @@ CrtAction <- SEMICOLON / Set / Call / Exp -UnkAction <- ({} {. (!Sps !CrtAction .)*}) +UnkAction <- ({} {Word+}) + -> UnknownSymbol + / ({} {. (!Sps !CrtAction .)*}) -> UnknownSymbol SimpleList <- (Simple (COMMA Simple)*) |