Removing empty parens from the grammar.
This commit is contained in:
parent
2f7c076a50
commit
f43ee4075d
|
@ -366,8 +366,6 @@
|
|||
Parenthetical: [
|
||||
o("( Expression )", function() {
|
||||
return new Parens($2);
|
||||
}), o("( )", function() {
|
||||
return new Parens(new Literal(''));
|
||||
})
|
||||
],
|
||||
WhileSource: [
|
||||
|
|
130
lib/parser.js
130
lib/parser.js
File diff suppressed because one or more lines are too long
|
@ -407,7 +407,6 @@ grammar =
|
|||
# the trick.
|
||||
Parenthetical: [
|
||||
o "( Expression )", -> new Parens $2
|
||||
o "( )", -> new Parens new Literal ''
|
||||
]
|
||||
|
||||
# The condition portion of a while loop.
|
||||
|
|
Loading…
Reference in New Issue