summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-02 11:30:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-02 11:30:02 +0800
commitc79a07c6d90d3a111cfcaedbda12a6167f247bee (patch)
treedb079b95c8d5b501e7b48a771744630103550c2a /server/src
parent9580b8407313fa37c47fbddc1a475c12c5086138 (diff)
downloadlua-language-server-c79a07c6d90d3a111cfcaedbda12a6167f247bee.zip
修正bug
Diffstat (limited to 'server/src')
-rw-r--r--server/src/parser/grammar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua
index a16f16c4..dea6d38e 100644
--- a/server/src/parser/grammar.lua
+++ b/server/src/parser/grammar.lua
@@ -323,7 +323,7 @@ Table <- Sp ({} TL TableFields? DirtyTR)
TableFields <- (TableSep {} / TableField)+
TableSep <- COMMA / SEMICOLON
TableField <- NewIndex / NewField / Exp
-NewIndex <- Sp ({} BL DirtyExp DirtyBR DirtyAssign DirtyExp)
+NewIndex <- Sp ({} BL !BL !ASSIGN DirtyExp DirtyBR DirtyAssign DirtyExp)
-> NewIndex
NewField <- (MustName ASSIGN DirtyExp)
-> NewField