From dcc6d0ccfd4cdce666600c5f98d193e8831525ba Mon Sep 17 00:00:00 2001 From: konrad Date: Tue, 17 Feb 2009 18:10:53 +0000 Subject: [PATCH] *implement basic parser exception *merge lines of development git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@270 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- woc/phpout.cpp | 6 ++++-- woc/processor.cpp | 25 +++++++++++-------------- woc/processor.h | 4 ++-- www/inc/wbase/autoload.php | 1 + www/inc/wbase/exception.php | 16 ++++++++++++++++ 5 files changed, 34 insertions(+), 18 deletions(-) create mode 100644 www/inc/wbase/exception.php diff --git a/woc/phpout.cpp b/woc/phpout.cpp index 19a1e14..8a817cd 100644 --- a/woc/phpout.cpp +++ b/woc/phpout.cpp @@ -235,6 +235,7 @@ void WocPHPServerOut::newClass(const WocClass&cls) //implement enums QStringList k=cls.enumTypes(); for(int i=0;i >ev=cls.enumValues(k[i]); for(int j=0;j m_props; QMap > >m_maps; QMap > >m_enumvals; - QMapm_serial; + QMap m_serial; }; class WocTable diff --git a/www/inc/wbase/autoload.php b/www/inc/wbase/autoload.php index 3c446b9..1230229 100644 --- a/www/inc/wbase/autoload.php +++ b/www/inc/wbase/autoload.php @@ -11,6 +11,7 @@ $AUTOCLASS["WobTable"]="inc/wbase/table.php"; $AUTOCLASS["WobSchemaBase"]="inc/wbase/schema.php"; +$AUTOCLASS["WobXmlException"]="inc/wbase/exception.php"; $AUTOCLASS["WObject"]="inc/wbase/object.php"; function __autoload($cname) diff --git a/www/inc/wbase/exception.php b/www/inc/wbase/exception.php new file mode 100644 index 0000000..732ac74 --- /dev/null +++ b/www/inc/wbase/exception.php @@ -0,0 +1,16 @@ +, (C) 2009 +// +// Copyright: See README/COPYING files that come with this distribution +// +// + +class WobXmlException extends Exception {}; + +?> \ No newline at end of file -- 1.7.2.5