summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser.h b/src/parser.h
index 7cb1cd49..ecc73a6f 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -47,9 +47,9 @@ class parser_t
virtual bool test(std::istream& in) const = 0;
- virtual void parse(std::istream& in,
- const path& pathname,
- xml::builder_t& builder) = 0;
+ virtual std::size_t parse(std::istream& in,
+ const path& pathname,
+ xml::builder_t& builder) = 0;
};
DECLARE_EXCEPTION(parse_error);