summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-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 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)?)