Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 04efd1ec747089ac0106596972f043a6e212bbe8..24d1f8a3a3a882cb5a37b8b4fe888059bbcf501a 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -648,9 +648,10 @@ Expression* ParserTraits::SuperReference( |
Expression* ParserTraits::ClassExpression( |
const AstRawString* name, Expression* extends, Expression* constructor, |
- ZoneList<ObjectLiteral::Property*>* properties, int pos, |
- AstNodeFactory<AstConstructionVisitor>* factory) { |
- return factory->NewClassLiteral(name, extends, constructor, properties, pos); |
+ ZoneList<ObjectLiteral::Property*>* properties, int start_position, |
+ int end_position, AstNodeFactory<AstConstructionVisitor>* factory) { |
+ return factory->NewClassLiteral(name, extends, constructor, properties, |
+ start_position, end_position); |
} |
Literal* ParserTraits::ExpressionFromLiteral( |