Reviewers: ulan,

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

Description:
Tests for (pre)parse errors when "eval" and "arguments" are found in
inappropriate places.

In addition:
- Fix a bug in parser discovered by the tests (prefix and postfix confused in an
error message); the preparser had it right.
- Unify the parser and preparser error locations when the name of a function is
"eval" or "arguments. Now both point to the name.

BUG=3126
LOG=N
[email protected]

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

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

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

Affected files (+169, -22 lines):
  M src/parser.h
  M src/parser.cc
  M test/cctest/test-parsing.cc
  M test/webkit/fast/js/basic-strict-mode-expected.txt


--
--
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