Reviewers: fschneider, Description: Make native syntax an early error in the preparser.
Previously the preparser always accepted natives syntax and let the real parser throw the syntax error. In ES5, it should be an early error, so the preparser must catch the error. The perparser library does not expose parsing for natives syntax, it's only used internally. Please review this at http://codereview.chromium.org/8306024/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/compiler.cc M src/parser.h M src/parser.cc M src/preparser-api.cc M src/preparser.h M src/preparser.cc M test/cctest/test-parsing.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
