diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-07-23 16:19:11 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-07-23 16:19:11 +0800 |
commit | e026dd59a58f89ec26c1723098b64cf81a537a6f (patch) | |
tree | 9651c5c91456bdd52e25966eb1cda5e2337eb54a /server/src/parser/grammar.lua | |
parent | 7e36bb04ca913dcfba0576b1d949306701636162 (diff) | |
download | lua-language-server-e026dd59a58f89ec26c1723098b64cf81a537a6f.zip |
更新语法解析
Diffstat (limited to 'server/src/parser/grammar.lua')
-rw-r--r-- | server/src/parser/grammar.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua index 36734174..5a1541ea 100644 --- a/server/src/parser/grammar.lua +++ b/server/src/parser/grammar.lua @@ -404,7 +404,7 @@ Semicolon <- SEMICOLON SimpleList <- (Simple (COMMA Simple)*) -> List -Do <- Sp ({} 'do' DoBody NeedEnd {}) +Do <- Sp ({} 'do' Cut DoBody NeedEnd {}) -> Do DoBody <- (Emmy / !END Action)* -> DoBody |