| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 68983b42cc37a8b76abafe6171d496c9bd5947a0..ed819c11c22f5527a77c5cc4a8aec56d1c4f757d 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -546,6 +546,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);
|
| @@ -575,6 +576,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);
|
| @@ -608,6 +611,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,
|
|
|