summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/textual.cc b/textual.cc
index 37373baa..9fb383ca 100644
--- a/textual.cc
+++ b/textual.cc
@@ -457,6 +457,7 @@ bool textual_parser_t::test(std::istream& in) const
#endif
}
+ in.clear();
in.seekg(0, std::ios::beg);
assert(in.good());
return true;