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

Update the JavsScript keywords list? #344

Open
GoogleCodeExporter opened this issue Feb 20, 2016 · 2 comments
Open

Update the JavsScript keywords list? #344

GoogleCodeExporter opened this issue Feb 20, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I'm happy to submit a patch for this but I thought I'd ask first, I notice the 
the JavaScript list of keywords is based off the C list but the C list include 
things that are not in JavaScript (like "auto", "extern", "inline", "volatile") 
and the JavaScript list itself is missing some of the new ES6 things like 
"yield", "implements", "let", "interface", "package" etc..

IShould I make a patch for that?

Original issue reported on code.google.com by [email protected] on 19 Jun 2014 at 7:54

@GoogleCodeExporter
Copy link
Author

Hmm, I  now see I must have been staring at the wrong code as I don't see the 
JavaScript list including the C list but still there is the ES6 stuff. thoughts?

Original comment by [email protected] on 19 Jun 2014 at 7:55

@GoogleCodeExporter
Copy link
Author

I added "instanceof" to the JSCRIPT_KEYWORDS in my local copy of prettify.js.

Original comment by [email protected] on 21 Jun 2014 at 10:24

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

1 participant