forked from Mirror/wren
This lets us make it a grammar feature and not a lexer trick. Newlines are explicitly ignored in some parts of the grammar. This lets, for example, things like "|" ignore the newline when used as an operator, but not when used as a parameter delimiter in a block argument.
3 lines
49 B
Plaintext
3 lines
49 B
Plaintext
for // expect error
|
|
(i in [1, 2, 3]) IO.print(i)
|