diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-11-20 10:19:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-11-20 10:19:35 +0800 |
commit | fd2badb3f994e216d9f807665b1812457b138d5b (patch) | |
tree | 8d7f015d206557c26e908e12ef9d95725ebb47e8 | |
parent | 15f76378dbe93a3cbff155c8e98f9bed59af75b0 (diff) | |
download | lua-language-server-fd2badb3f994e216d9f807665b1812457b138d5b.zip |
更新语法解析
-rw-r--r-- | src/parser/grammar.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar.lua b/src/parser/grammar.lua index ef2fbcd3..b7cdfe61 100644 --- a/src/parser/grammar.lua +++ b/src/parser/grammar.lua @@ -205,7 +205,7 @@ ExpAdds <- ExpMuls (Adds ExpMuls)* ExpMuls <- ExpUnary (Muls ExpUnary)* ExpUnary <- (Unary ExpPower) / ExpPower -ExpPower <- ExpUnit (POWER ExpUnit)* +ExpPower <- ExpUnit (POWER ExpUnary)* ExpUnit <- Nil / Boolean / String |