Allow comments on their own line

rewrite/grammar-implicit-whitespace
Raymon Zutekouw 3 years ago
parent 1880f459d5
commit 84ba80e38a
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  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