Reviewers: ulan,

Message:
Committed patchset #2 manually as r19082 (presubmit successful).

Description:
Tests for (pre)parse errors when "yield" is found in inappropriate places.

In addition:
- Fix: PreParser used to report an unexpected token one token too late when
ParsePrimaryExpression failed.
- Unified identifier handling (PreParser::GetIdentifier is now like
Parser::GetIdentifier).
- Fix: PreParser used to produce "unexpected_token YIELD" errors when Parser
produced "unexpected_token_identifier"; fixed PreParser to match Parser.

BUG=3126
LOG=N
[email protected]

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

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

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

Affected files (+77, -30 lines):
  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