Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

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

Created:
6 years, 10 months ago by marja
Modified:
6 years, 10 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

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 R=ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19082

Patch Set 1 #

Patch Set 2 : whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -30 lines) Patch
M src/preparser.cc View 1 3 chunks +12 lines, -30 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ulan
lgtm
6 years, 10 months ago (2014-02-04 18:15:17 UTC) #1
marja
6 years, 10 months ago (2014-02-04 18:16:52 UTC) #2
Message was sent while issue was closed.
Committed patchset #2 manually as r19082 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698