| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 94d2f9e6a09586ce3713e0d4dffd6e7e69c9c768..ab82ef70892c27e41093a4d4226b918a60d1736f 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -3006,6 +3006,7 @@ Expression* Parser::ParseAssignmentExpression(bool accept_IN, bool* ok) {
|
| // side expression. We could report this as a syntax error here but
|
| // for compatibility with JSC we choose to report the error at
|
| // runtime.
|
| + // TODO(ES5): Should change parsing for spec conformance.
|
| if (expression == NULL || !expression->IsValidLeftHandSide()) {
|
| Handle<String> type =
|
| isolate()->factory()->invalid_lhs_in_assignment_symbol();
|
|
|