grammar: removed a remnant of Slice

This commit is contained in:
satyr 2010-10-24 05:35:35 +09:00
parent b648b392b6
commit bfc236fca3
3 changed files with 120 additions and 125 deletions

View File

@ -178,9 +178,7 @@
return new Accessor(new Literal('prototype'));
}), o("SOAK_ACCESS Identifier", function() {
return new Accessor($2, 'soak');
}), o("Index"), o("Slice", function() {
return new Slice($1);
})
}), o("Index")
],
Index: [
o("INDEX_START Expression INDEX_END", function() {

File diff suppressed because one or more lines are too long

View File

@ -244,7 +244,6 @@ grammar =
o "::", -> new Accessor(new Literal('prototype'))
o "SOAK_ACCESS Identifier", -> new Accessor $2, 'soak'
o "Index"
o "Slice", -> new Slice $1
]
# Indexing into an object or array using bracket notation.