summaryrefslogtreecommitdiff
path: root/cpp/src/IceXML/Parser.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-08-09 14:58:01 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-08-09 14:58:01 +0000
commit3f862089b748741b30e343d2051a4747a3bff2f2 (patch)
tree18d1dde1504e2d510a24f4d55aeee21bfea7c04f /cpp/src/IceXML/Parser.cpp
parentfixing bug 1291 (diff)
downloadice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.bz2
ice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.xz
ice-3f862089b748741b30e343d2051a4747a3bff2f2.zip
Borland C++Builder port mass commit
Diffstat (limited to 'cpp/src/IceXML/Parser.cpp')
-rw-r--r--cpp/src/IceXML/Parser.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/IceXML/Parser.cpp b/cpp/src/IceXML/Parser.cpp
index 086e3475a0b..71db1bad4ee 100644
--- a/cpp/src/IceXML/Parser.cpp
+++ b/cpp/src/IceXML/Parser.cpp
@@ -39,7 +39,11 @@ IceXML::ParserException::ice_name() const
void
IceXML::ParserException::ice_print(std::ostream& out) const
{
+#ifdef __BCPLUSPLUS__
+ IceUtil::Exception::ice_print(out);
+#else
Exception::ice_print(out);
+#endif
if(!_reason.empty())
{
out << "\n" << _reason;
@@ -265,7 +269,7 @@ IceXML::DocumentBuilder::startElement(const string& name, const Attributes& attr
NodePtr parent = _nodeStack.front();
Element* element = new Element(parent, name, attributes, line, column);
-#if NDEBUG
+#ifdef NDEBUG
parent->addChild(element);
#else
assert(parent->addChild(element));