[loose parser] Fix bug where peeked tokens persist across parses
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
fetchToken = acorn.tokenize(inpt, opts);
|
||||
context = [];
|
||||
nextLineStart = 0;
|
||||
ahead.length = 0;
|
||||
next();
|
||||
return parseTopLevel();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user