DescriptionMake PreParser track valid left hand sides.
Notes:
- This makes PreParser produce invalid_lhs_in_assignment and
invalid_lhs_in_prefix_op. Other errors will follow as the corresponding funcs
move to ParserBase.
- PreParserExpression::IsStrictFunction and StrictFunction() are not needed any
more -> removed them.
R=rossberg@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=20125
Patch Set 1 #
Total comments: 4
Patch Set 2 : fix #Patch Set 3 : rebased #
Messages
Total messages: 7 (0 generated)
|