Tests and fixes for (pre)parse errors related to future reserved words.
authormarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Feb 2014 16:38:47 +0000 (16:38 +0000)
committermarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 4 Feb 2014 16:38:47 +0000 (16:38 +0000)
commit35354cb9b7e1789945aaddc414a102594ffc3544
treed50dad8a69136bd7fe417c4ead9fae68f644a3aa
parent5859e4d48832ebec138cef9f1406d101f19cf8dc
Tests and fixes for (pre)parse errors related to future reserved words.

This contains the following fixes:
- PreParser was using an error "reserved_word" which doesn't exist in
messages.js. Changed it to "unexpected_reserved".

BUG=3126
LOG=N
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/153793002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19076 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/preparser.cc
test/cctest/test-parsing.cc