fix prototype_access lexing

This commit is contained in:
Jeremy Ashkenas
2010-02-12 22:21:22 -05:00
parent 249bd99656
commit e2f3c2259b
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@
tag = 'LEADING_WHEN';
}
if (tag === 'IDENTIFIER' && this.value() === '::') {
this.tag(-1, 'PROTOTYPE_ACCESS');
this.tag(1, 'PROTOTYPE_ACCESS');
}
if (tag === 'IDENTIFIER' && this.value() === '.' && !(this.value(2) === '.')) {
if (this.tag(2) === '?') {