| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index e13b120fa69baea2f9fbc5b663268b9ea0d74b07..64f07beda1f5ebff645173302ef84ab1617b753c 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -651,6 +651,11 @@ class Parser {
|
| bool* is_set,
|
| bool* ok);
|
|
|
| + // Determine if the expression is a variable proxy and mark it as being used
|
| + // in an assignment or with a increment/decrement operator. This is currently
|
| + // used on for the statically checking assignments to harmony const bindings.
|
| + void MarkAsUsedAsLValue(Expression* expression);
|
| +
|
| // Strict mode validation of LValue expressions
|
| void CheckStrictModeLValue(Expression* expression,
|
| const char* error,
|
|
|