Reviewers: ulan,
Message:
ulan, wdyt?
(mstarzinger, fyi)
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
Please review this at https://codereview.chromium.org/140543003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+148, -14 lines):
M src/parser.h
M src/parser.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.