allowing empty parens.

This commit is contained in:
Jeremy Ashkenas
2010-08-17 21:31:32 -04:00
parent 536e24b024
commit ec54b50c67
3 changed files with 73 additions and 68 deletions

View File

@@ -399,6 +399,7 @@ grammar =
# the trick.
Parenthetical: [
o "( Line )", -> new ParentheticalNode $2
o "( )", -> new ParentheticalNode new LiteralNode ''
]
# The condition portion of a while loop.