Reviewers: rossberg,
Message:
rossberg, ptal
Description:
Make PreParser track valid left hand sides.
Notes:
- This makes PreParser produce invalid_lhs_in_assignment and
invalid_lhs_in_prefix_op. Other erros will follow as the corresponding funcs
move to ParserBase.
- PreParserExpression::IsStrictFunction and StrictFunction() are not needed
any
more -> removed them.
[email protected]
BUG=
Please review this at https://codereview.chromium.org/196343033/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+86, -17 lines):
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
---
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/d/optout.