Fixing #773. Statements cannot be wrapped in parens (as in JS).

This commit is contained in:
Timothy Jones
2010-10-19 19:32:23 +13:00
parent 87560d943c
commit d9cd75c426
4 changed files with 4 additions and 4 deletions

View File

@@ -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 ''
]