summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.cc b/src/session.cc
index 42e02c75..075324ec 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -148,7 +148,9 @@ std::size_t session_t::read_journal(journal_t& journal,
master = journal.master;
foreach (journal_t::parser_t& parser, parsers)
+#if defined(TEST_FOR_PARSER)
if (parser.test(in))
+#endif
return parser.parse(in, *this, journal, master, &pathname);
return 0;