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

Template Strings: fix double scanning of template literals #1145

Merged
merged 1 commit into from
Mar 19, 2015

Conversation

mikesherov
Copy link
Member

Also breaks scanning of { and } into a separate clause in the switch statement
to avoid having to conditional logic related to the stack on unrelated tokens.
This more closely reflects the situation in the master branch as well.

Fixes #1143

@mikesherov
Copy link
Member Author

@zpao and @jeffmo ping!

Also breaks scanning of { and } into a separate clause in the switch statement
to avoid having to conditional logic related to the stack on unrelated tokens.
This more closely reflects the situation in the master branch as well.

Fixes jquery#1143
Closes jquerygh-1145
@zpao
Copy link

zpao commented Mar 19, 2015

This seems like it makes sense and it fixes all the cases we had that were failing so 👍. I am probably the worst person to actually review the code. I can find bugs and merge our fork (sometimes) but I still don't know how esprima actually works.

@nzakas
Copy link
Contributor

nzakas commented Mar 19, 2015

The changes look good to me. Very clean. :)

@jeffmo
Copy link
Member

jeffmo commented Mar 19, 2015

👍 looks good.

Sounds like @zpao has run it across our codebase with no problems too, which I've found to be a pretty reassuring smoke test

@mikesherov
Copy link
Member Author

OK, landing

@mikesherov mikesherov merged commit edebcb7 into jquery:harmony Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants