diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:50:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:50:03 +0200 |
commit | 54110801525371740298d5cae378bfc778749935 (patch) | |
tree | f0f125135b2a1bcf1eea49a559b49d00ea25d879 /xsd/cxx/tree/parser-source.cxx | |
parent | 3f4a7a6b2a3b708ea69b980494f6e49eb0c02ebc (diff) |
Get rid of dependency on libcult
Diffstat (limited to 'xsd/cxx/tree/parser-source.cxx')
-rw-r--r-- | xsd/cxx/tree/parser-source.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/xsd/cxx/tree/parser-source.cxx b/xsd/cxx/tree/parser-source.cxx index ee83fd2..32491ac 100644 --- a/xsd/cxx/tree/parser-source.cxx +++ b/xsd/cxx/tree/parser-source.cxx @@ -23,7 +23,7 @@ namespace CXX { } - virtual Void + virtual void traverse (Type& e) { if (!doc_root_p (e)) @@ -294,7 +294,7 @@ namespace CXX // DOM. // - Boolean fund (false); + bool fund (false); { IsFundamentalType test (fund); test.dispatch (t); @@ -304,7 +304,7 @@ namespace CXX // If this element's type is anonymous then we don't need to do // anything. // - Boolean poly (polymorphic && polymorphic_p (t) && !anonymous_p (t)); + bool poly (polymorphic && polymorphic_p (t) && !anonymous_p (t)); // const DOMDocument& // @@ -517,10 +517,8 @@ namespace CXX }; } - Void - generate_parser_source (Context& ctx, - UnsignedLong first, - UnsignedLong last) + void + generate_parser_source (Context& ctx, size_t first, size_t last) { ctx.os << "#include <istream>" << endl << "#include <xsd/cxx/xml/sax/std-input-source.hxx>" << endl |