From 0b7cfba94acef51440941880fe22a587cc1e6a8f Mon Sep 17 00:00:00 2001 From: Gerald Lewis Date: Mon, 9 Jan 2012 13:00:27 -0500 Subject: [PATCH] Issue #1547 'use strict' future reserved keywords as identifiers prohibited --- src/lexer.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lexer.coffee b/src/lexer.coffee index bca4d669..879cab64 100644 --- a/src/lexer.coffee +++ b/src/lexer.coffee @@ -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