Allow comments on their own line

Raymon Zutekouw 4 years ago committed by Raymon Zutekouw
parent a381e148f0
commit 629580e628
No known key found for this signature in database
GPG Key ID: E62222846283925
  1. 1
      src/grammars/mblf.pest

@ -19,5 +19,6 @@ statements = _{ statement* }
newline = _{ "\n" | "\r\n" }
spacing = _{ " " | "\t" }
COMMENT = _{ ";;" ~ (!newline ~ ANY)* ~ newline}
file = {SOI ~ (statement ~ newline+)* ~ EOI}

Loading…
Cancel
Save