aboutsummaryrefslogtreecommitdiff
path: root/xml/parser
diff options
context:
space:
mode:
Diffstat (limited to 'xml/parser')
-rw-r--r--xml/parser10
1 files changed, 4 insertions, 6 deletions
diff --git a/xml/parser b/xml/parser
index a1b6250..d891c3e 100644
--- a/xml/parser
+++ b/xml/parser
@@ -36,10 +36,9 @@
namespace xml
{
- class parser;
-
- struct LIBSTUDXML_EXPORT parsing: exception
+ class LIBSTUDXML_EXPORT parsing: public exception
{
+ public:
virtual
~parsing () throw ();
@@ -65,7 +64,7 @@ namespace xml
virtual const char*
what () const throw ();
- private:
+ private:
void
init ();
@@ -460,8 +459,7 @@ namespace xml
pop_element ();
};
- LIBSTUDXML_EXPORT
- std::ostream&
+ LIBSTUDXML_EXPORT std::ostream&
operator<< (std::ostream&, parser::event_type);
}