DescriptionTests 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
R=ulan@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=19050
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : rebased #Patch Set 5 : comment #Patch Set 6 : one more test (trivial change) #
Messages
Total messages: 3 (0 generated)
|