summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-20 10:19:35 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-20 10:19:35 +0800
commitfd2badb3f994e216d9f807665b1812457b138d5b (patch)
tree8d7f015d206557c26e908e12ef9d95725ebb47e8 /src
parent15f76378dbe93a3cbff155c8e98f9bed59af75b0 (diff)
downloadlua-language-server-fd2badb3f994e216d9f807665b1812457b138d5b.zip
更新语法解析
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 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