This website requires JavaScript.
Explore
Mail
Help
Register
Sign In
Mirror
/
wren
Watch
1
Star
0
Fork
1
You've already forked wren
mirror of
https://github.com/wren-lang/wren.git
synced
2026-01-18 13:49:59 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
c4497933e7ff21ca42c3751c614811d340759571
wren
/
test
/
language
/
conditional
/
missing_then.wren
2 lines
29 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Move newline handling down into parser. 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.
2014-04-04 07:51:18 -07:00
(true ? : 2) // expect error
Reference in New Issue
Copy Permalink