| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index f5bb792110d6e0751d68cfd3d5b0a5e5ad620151..8b6f965e3c295a60a0f8392c1b6894d2537085bc 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -542,7 +542,8 @@ class ParserTraits {
|
| int end_pos);
|
| Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner,
|
| AstNodeFactory* factory);
|
| - Expression* ExpressionFromIdentifier(const AstRawString* name, int pos,
|
| + Expression* ExpressionFromIdentifier(const AstRawString* name,
|
| + int start_position, int end_position,
|
| Scope* scope, AstNodeFactory* factory);
|
| Expression* ExpressionFromString(int pos, Scanner* scanner,
|
| AstNodeFactory* factory);
|
| @@ -798,7 +799,7 @@ class Parser : public ParserBase<ParserTraits> {
|
|
|
| // Parser support
|
| VariableProxy* NewUnresolved(const AstRawString* name, VariableMode mode);
|
| - void Declare(Declaration* declaration, bool resolve, bool* ok);
|
| + Variable* Declare(Declaration* declaration, bool resolve, bool* ok);
|
|
|
| bool TargetStackContainsLabel(const AstRawString* label);
|
| BreakableStatement* LookupBreakTarget(const AstRawString* label, bool* ok);
|
|
|