Explicitly allow spacing before loopBlockEnd

- Inherited prefixed `spacing*` only applied to loopBlockStart,
- as the rule from statement only allowed spacing before the entire loopBlock
rewrite/grammar-implicit-whitespace
Raymon Zutekouw 2 years ago
parent 7e2bfe27e5
commit b6364cce79
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 2
      src/grammars/mblf.pest

@ -60,7 +60,7 @@ loopBlockStart = { "[" ~ NEWLINE }
loopBlockEnd = { "]" }
loopBlock = { loopBlockStart
~ statements
~ loopBlockEnd
~ spacing* ~ loopBlockEnd
}
statement = _{ spacing*

Loading…
Cancel
Save