Reviewers: ulan,

Message:
Committed patchset #1 manually as r19153 (presubmit successful).

Description:
Redo r19140 with better efficiency.

Still relevant parts of the original commit message:

Unify paren handling in Parser and PreParser.

It is only needed in (Pre)Parser::ParseExpressionOrLabelledStatement for not
recognizing parenthesized identifiers as labels and in
(Pre)Parser::ParseSourceElements for not recognizing a parenthesized string as
directive prologue.

Parser Expressions don't keep track of whether they're parenthesized, so
PreParser Expressions shouldn't either.

BUG=3126
LOG=N
[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=19153

Please review this at https://codereview.chromium.org/148323011/

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

Affected files (+53, -51 lines):
  M src/preparser.h
  M src/preparser.cc
  M test/cctest/test-parsing.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to