Permalink
Browse files

Issue #1547 'use strict' future reserved keywords as identifiers proh…

…ibited
  • Loading branch information...
1 parent f43ec97 commit 0b7cfba94acef51440941880fe22a587cc1e6a8f @geraldalewis geraldalewis committed Jan 9, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/lexer.coffee
View
@@ -572,6 +572,8 @@ RESERVED = [
'case', 'default', 'function', 'var', 'void', 'with'
'const', 'let', 'enum', 'export', 'import', 'native'
'__hasProp', '__extends', '__slice', '__bind', '__indexOf'
+ 'implements', 'interface', 'let', 'package',
+ 'private', 'protected', 'public', 'static', 'yield'
]
# The superset of both JavaScript keywords and reserved words, none of which may

0 comments on commit 0b7cfba

Please sign in to comment.