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

Add exception for escaped keywords #494

Closed
ghost opened this issue Dec 29, 2016 · 2 comments
Closed

Add exception for escaped keywords #494

ghost opened this issue Dec 29, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 29, 2016

Same as: jquery/esprima#1612

@marijnh
Copy link
Member

marijnh commented Dec 29, 2016

We're currently interpreting that part of the standard to mean that such words shouldn't be treated as keywords, but it seems everybody else is taking it to mean an error should be raised if the resulting unescaped word is a keyword.

Attached patch adjusts this.

@ghost
Copy link
Author

ghost commented Dec 29, 2016

Sorry! I didn't know... Thx for the quick commit, anyways

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

No branches or pull requests

1 participant