Index: src/parser.cc |
=================================================================== |
--- src/parser.cc (revision 958) |
+++ src/parser.cc (working copy) |
@@ -1318,6 +1318,9 @@ |
Block* result = NEW(Block(labels, 1, false)); |
Target target(this, result); |
TryStatement* statement = ParseTryStatement(CHECK_OK); |
+ if (statement) { |
+ statement->set_statement_pos(statement_pos); |
+ } |
if (result) result->AddStatement(statement); |
return result; |
} |