diff options
author | sumneko <sumneko@hotmail.com> | 2019-06-04 10:35:44 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-06-04 10:35:44 +0800 |
commit | 515f5953d9aa526d40c305f32a97047697ce8dce (patch) | |
tree | 6000bd30d1d24af43ae630450919358420c69858 /server/src/parser/grammar.lua | |
parent | 6314adcca618c06a6a1c09349aa2b7e17d0690c4 (diff) | |
download | lua-language-server-515f5953d9aa526d40c305f32a97047697ce8dce.zip |
允许local tag打空格
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 7f8284a0..a876c3ba 100644 --- a/server/src/parser/grammar.lua +++ b/server/src/parser/grammar.lua @@ -482,7 +482,7 @@ RepeatBody <- REPEAT BreakEnd NeedUntil DirtyExp -LocalTag <- (Sp '<' MustName LocalTagEnd)* +LocalTag <- (Sp '<' Sp MustName Sp LocalTagEnd)* -> LocalTag LocalTagEnd <- '>' / {} -> MissGT Local <- (LOCAL LocalTag NameList (ASSIGN ExpList)?) |