Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lastToken not reset between calls to parse #229

Closed
alberto opened this issue Jan 18, 2016 · 0 comments
Closed

lastToken not reset between calls to parse #229

alberto opened this issue Jan 18, 2016 · 0 comments

Comments

@alberto
Copy link
Member

alberto commented Jan 18, 2016

lastToken is not initialized on each call to parse. This, together with some output options, can cause issues when parsing an empty file or one containing just comments.

alberto pushed a commit to alberto/espree that referenced this issue Jan 18, 2016
@nzakas nzakas closed this as completed in ef7a06d Jan 19, 2016
nzakas added a commit that referenced this issue Jan 19, 2016
Fix: lastToken not reset between calls to parse (fixes #229)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants