Merge Parser::ReportUnexpectedToken and PreParser::ReportUnexpectedToken.
authormarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 6 Feb 2014 15:10:21 +0000 (15:10 +0000)
committermarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 6 Feb 2014 15:10:21 +0000 (15:10 +0000)
commit032999da4cf55eea157cf2f1d94657b62ad076b4
tree8ddf2d9434c44275e059a10091a0e087eb5759ac
parenta26bd05be3ed4ce6fa0d5054a61cb603c07924f5
Merge Parser::ReportUnexpectedToken and PreParser::ReportUnexpectedToken.

(I.e., move ReportUnexpectedToken to ParserBase.)

Because of the recent unifications, they now do the same thing.

BUG=
R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19161 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc
src/parser.h
src/preparser.cc
src/preparser.h