Allow newlines between comments and statements

master
Raymon Zutekouw 4 years ago committed by Raymon Zutekouw
parent 0535251cda
commit d2bccced4e
  1. 2
      src/grammars/mblf.pest

@ -71,6 +71,6 @@ statement =_{ spacing*
statements =_{ (statement | NEWLINE)* }
spacing =_{ " " | "\t" }
COMMENT =_{ ";;" ~ (!NEWLINE ~ ANY)* ~ NEWLINE }
COMMENT =_{ ";;" ~ (!NEWLINE ~ ANY)* ~ NEWLINE+ }
file = { SOI ~ (statement ~ NEWLINE+)* ~ EOI }

Loading…
Cancel
Save