summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-14 11:09:54 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:50 -0400
commitf83705b847c59a8197f5098cb7dc2d484704e24d (patch)
tree1b314d07bb9f50a75781d703ec6c778056e74684 /src/parser.h
parent65af1688382331d91153fb2366026e94feb5afe2 (diff)
downloadfork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.tar.gz
fork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.tar.bz2
fork-ledger-f83705b847c59a8197f5098cb7dc2d484704e24d.zip
Changed xpath to use intrusive_ptr; got the xml command working
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);