Reviewers: arv, marja,

Message:
Followup to crrev.com/1033823002

Unfortunately, it doesn't seem to clean things up as much as I wanted, but it
does report better errors, and make the error reporting consistent between
preparser and parser

Description:
[parser] emit better errors for multiple ForBindings in ForIn/Of loops

Instead of "unexpected token" errors, report something meatier and more
actionable.

BUG=
[email protected], [email protected]
LOG=N

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

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+130, -24 lines):
  M src/messages.js
  M src/parser.h
  M src/parser.cc
  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/d/optout.

Reply via email to