Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index d4da7ce53283a8c8cdc9d1678cc96543132f8a2e..9334a33195a1e21f474055863bc28dd47fa2cb93 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -3752,9 +3752,8 @@ Statement* Parser::ParseForStatement(ZoneList<const AstRawString*>* labels, |
Statement* next = NULL; |
if (peek() != Token::RPAREN) { |
- int next_pos = position(); |
Expression* exp = ParseExpression(true, CHECK_OK); |
- next = factory()->NewExpressionStatement(exp, next_pos); |
+ next = factory()->NewExpressionStatement(exp, exp->position()); |
} |
Expect(Token::RPAREN, CHECK_OK); |