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 53d712db4f
commit c868b5f052
+1 -1
View File
@@ -60,7 +60,7 @@ loopBlockStart = { "[" ~ NEWLINE }
loopBlockEnd = { "]" }
loopBlock = { loopBlockStart
~ statements
~ loopBlockEnd
~ spacing* ~ loopBlockEnd
}
statement = _{ spacing*