Explicitly allow spacing before loopBlockEnd

- Inherited prefixed `spacing*` only applied to loopBlockStart,
- as the rule from statement only allowed spacing before the entire loopBlock
This commit is contained in:
2022-01-01 17:33:35 +01:00
committed by Raymon Zutekouw
parent 6b0cb46bf6
commit 27a7a009c1
+1 -1
View File
@@ -60,7 +60,7 @@ loopBlockStart = { "[" ~ NEWLINE }
loopBlockEnd = { "]" } loopBlockEnd = { "]" }
loopBlock = { loopBlockStart loopBlock = { loopBlockStart
~ statements ~ statements
~ loopBlockEnd ~ spacing* ~ loopBlockEnd
} }
statement = _{ spacing* statement = _{ spacing*