Skip to content

Fix location data for implicit CALL_END tokens #6

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

Conversation

alangpierce
Copy link
Member

Fixes decaffeinate/decaffeinate#446

In addition to OUTDENT tokens, CALL_END tokens can also be virtual tokens
without a real location, and sometimes they end up with a location that's
incorrect.

This change extends #4 to also include CALL_END tokens in the location data correction.

Fixes decaffeinate/decaffeinate#446

In addition to OUTDENT tokens, CALL_END tokens can also be virtual tokens
without a real location, and sometimes they end up with a location that's
incorrect.
@eventualbuddha eventualbuddha merged commit 3484c9d into decaffeinate:decaffeinate-fork-1.10.0 Oct 9, 2016
@alangpierce alangpierce deleted the fix-call-end-token-position branch October 9, 2016 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants