Permalink
Browse files

removed duplicate "let" in RESERVED list

  • Loading branch information...
1 parent 1731f7d commit 6417cf4d1ba1da314b53901214b262267b5fcdc4 @michaelficarra michaelficarra committed Jun 12, 2012
Showing with 5 additions and 6 deletions.
  1. +1 −1 lib/coffee-script/lexer.js
  2. +4 −5 src/lexer.coffee

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -576,11 +576,10 @@ COFFEE_KEYWORDS = COFFEE_KEYWORDS.concat COFFEE_ALIASES
# used by CoffeeScript internally. We throw an error when these are encountered,
# to avoid having a JavaScript error at runtime.
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'
+ 'case', 'default', 'function', 'var', 'void', 'with', 'const', 'let', 'enum'
+ 'export', 'import', 'native', '__hasProp', '__extends', '__slice', '__bind'
+ '__indexOf', 'implements', 'interface', 'package', 'private', 'protected'
+ 'public', 'static', 'yield'
]
STRICT_PROSCRIBED = ['arguments', 'eval']

0 comments on commit 6417cf4

Please sign in to comment.