| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index b5d18f1f1b88b03a7142439bcfc88f4d7424840b..aa8d525cd1350b5c61a74af1b1b1697ae081a807 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -548,6 +548,7 @@ class Parser {
|
|
|
| ZoneList<Expression*>* ParseArguments(bool* ok);
|
| FunctionLiteral* ParseFunctionLiteral(Handle<String> var_name,
|
| + bool name_is_reserved,
|
| int function_token_position,
|
| FunctionLiteralType type,
|
| bool* ok);
|
| @@ -577,6 +578,8 @@ class Parser {
|
| return scanner().Next();
|
| }
|
|
|
| + bool peek_any_identifier();
|
| +
|
| INLINE(void Consume(Token::Value token));
|
| void Expect(Token::Value token, bool* ok);
|
| bool Check(Token::Value token);
|
| @@ -610,6 +613,7 @@ class Parser {
|
| Literal* GetLiteralNumber(double value);
|
|
|
| Handle<String> ParseIdentifier(bool* ok);
|
| + Handle<String> ParseIdentifierOrReservedWord(bool* is_reserved, bool* ok);
|
| Handle<String> ParseIdentifierName(bool* ok);
|
| Handle<String> ParseIdentifierOrGetOrSet(bool* is_get,
|
| bool* is_set,
|
|
|