mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
Fixing #773. Statements cannot be wrapped in parens (as in JS).
This commit is contained in:
@@ -404,7 +404,7 @@ grammar =
|
||||
# where only values are accepted, wrapping it in parentheses will always do
|
||||
# the trick.
|
||||
Parenthetical: [
|
||||
o "( Line )", -> new Parens $2
|
||||
o "( Expression )", -> new Parens $2
|
||||
o "( )", -> new Parens new Literal ''
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user