mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
Fix from mrbkap to unget error tokens (350415, r=me).
This commit is contained in:
parent
3e7b6d2632
commit
e833332f9e
@ -2078,8 +2078,6 @@ void
|
||||
js_UngetToken(JSTokenStream *ts)
|
||||
{
|
||||
JS_ASSERT(ts->lookahead < NTOKENS_MASK);
|
||||
if (ts->flags & TSF_ERROR)
|
||||
return;
|
||||
ts->lookahead++;
|
||||
ts->cursor = (ts->cursor - 1) & NTOKENS_MASK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user