Index: preparser/preparser-process.cc |
diff --git a/preparser/preparser-process.cc b/preparser/preparser-process.cc |
index 2dc98c057db19a089458f299ae305654e7e562d2..9c8d7b44821fdf1dd61883e43dba7e841b6ed293 100644 |
--- a/preparser/preparser-process.cc |
+++ b/preparser/preparser-process.cc |
@@ -252,7 +252,8 @@ void CheckException(v8::PreParserData* data, |
} |
} else if (reader.throws()) { |
const char* message = reader.message(); |
- fail(data, "Throws unexpectedly with message: %s\n", message); |
+ fail(data, "Throws unexpectedly with message: %s at location %d-%d\n", |
+ message, reader.beg_pos(), reader.end_pos()); |
} |
} |