Reviewers: Rico,

Message:
Issue 117 - strict mode and future reserved words

Adds a new token value for all future reserved words. The scanner
is not strict mode aware and always returns the new
IDENTIFIER_OR_FUTURE_RESERVED_WORD token. The parser and preparser
check for the new token type based on the strict mode context.

Description:
Issue 117 - strict mode and future reserved words

Adds a new token value for all future reserved words. The scanner
is not strict mode aware and always returns the new
IDENTIFIER_OR_FUTURE_RESERVED_WORD token. The parser and preparser
check for the new token type based on the strict mode context.

BUG=
TEST=

Please review this at http://codereview.chromium.org/6246064/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/messages.js
  M src/parser.h
  M src/parser.cc
  M src/preparser.h
  M src/preparser.cc
  M src/scanner-base.h
  M src/scanner-base.cc
  M src/token.h
  M test/mjsunit/strict-mode.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to