| Index: preparser/preparser-process.cc
|
| diff --git a/preparser/preparser-process.cc b/preparser/preparser-process.cc
|
| index 66b53a1b376b0674218d19af22667319de0b8cfc..76d72d12c68aba13377e298fdee0062e34003e04 100644
|
| --- a/preparser/preparser-process.cc
|
| +++ b/preparser/preparser-process.cc
|
| @@ -241,8 +241,8 @@ void CheckException(v8::PreParserData* data,
|
| if (expects->type != NULL) {
|
| const char* actual_message = reader.message();
|
| if (strcmp(expects->type, actual_message)) {
|
| - fail(data, "Wrong error message. Expected <%s>, found <%s>\n",
|
| - expects->type, actual_message);
|
| + fail(data, "Wrong error message. Expected <%s>, found <%s> at %d..%d\n",
|
| + expects->type, actual_message, reader.beg_pos(), reader.end_pos());
|
| }
|
| }
|
| if (expects->beg_pos >= 0) {
|
|
|