Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index c89c7f554a89e7c4eebcca5fadaebf1227326042..535b63945cc4d0e944db3dcc96f309732befd658 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -552,16 +552,11 @@ class Parser { |
// in the object literal boilerplate. |
Handle<Object> GetBoilerplateValue(Expression* expression); |
- enum FunctionLiteralType { |
- EXPRESSION, |
- DECLARATION |
- }; |
- |
ZoneList<Expression*>* ParseArguments(bool* ok); |
FunctionLiteral* ParseFunctionLiteral(Handle<String> var_name, |
bool name_is_reserved, |
int function_token_position, |
- FunctionLiteralType type, |
+ FunctionLiteral::Type type, |
bool* ok); |