removing a shift-reduce error from the grammar that worked its way in

This commit is contained in:
Jeremy Ashkenas 2010-02-23 21:22:28 -05:00
parent 8db0cb9fa5
commit 7de4caffca
3 changed files with 48 additions and 53 deletions

View File

@ -343,8 +343,6 @@
return new ValueNode(new LiteralNode('this'));
}), o("@ Identifier", function() {
return new ValueNode(new LiteralNode('this'), [new AccessorNode($2)]);
}), o("@ Index", function() {
return new ValueNode(new LiteralNode('this'), [$2]);
})
],
// The range literal.

File diff suppressed because one or more lines are too long

View File

@ -300,7 +300,6 @@ grammar: {
This: [
o "@", -> new ValueNode(new LiteralNode('this'))
o "@ Identifier", -> new ValueNode(new LiteralNode('this'), [new AccessorNode($2)])
o "@ Index", -> new ValueNode(new LiteralNode('this'), [$2])
]
# The range literal.