Allow comments on their own line
This commit is contained in:
@@ -19,5 +19,6 @@ statements = _{ statement* }
|
||||
|
||||
newline = _{ "\n" | "\r\n" }
|
||||
spacing = _{ " " | "\t" }
|
||||
COMMENT = _{ ";;" ~ (!newline ~ ANY)* ~ newline}
|
||||
|
||||
file = {SOI ~ (statement ~ newline+)* ~ EOI}
|
||||
|
||||
Reference in New Issue
Block a user