summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index 1982d29d..a95bc4c6 100644
--- a/textual.cc
+++ b/textual.cc
@@ -572,8 +572,9 @@ unsigned int textual_parser_t::parse(std::istream& in,
entry->end_pos = in.tellg();
count++;
} else {
+ print_entry(std::cerr, *entry);
delete entry;
- throw parse_error(path, first_line, "Entry does not balance");
+ throw parse_error(path, first_line, "Entry above does not balance");
}
} else {
throw parse_error(path, first_line, "Failed to parse entry");