Allow newlines between comments and statements

Raymon Zutekouw 4 years ago committed by Raymon Zutekouw
parent 4c78808d90
commit e96a4ae6fb
No known key found for this signature in database
GPG Key ID: E62222846283925
  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