removed cruft, fixed ptset.ml
[SXSI/xpathcomp.git] / SXSIStorageInterface.cpp
index 98d15b7..88ed42f 100644 (file)
@@ -11,7 +11,6 @@
 #include "SXSIStorageInterface.h"
 #include "Utils.h"
 
-
 SXSIStorageInterface::SXSIStorageInterface(int sf,bool iet,bool dtc)
 {
   tree = new XMLTree();
@@ -47,7 +46,8 @@ void SXSIStorageInterface::newText(string text)
 void SXSIStorageInterface::nodeFinished(string name)
 {  
   tree->NewClosingTag((unsigned char*) name.c_str());
- }           
+
+}            
              
   void SXSIStorageInterface::parsingFinished()
 {
@@ -57,11 +57,13 @@ void SXSIStorageInterface::nodeFinished(string name)
 }
 
 void *SXSIStorageInterface::returnDocument(){
-
+#ifdef DEBUG
   printStats();
+#endif
   return ((void *) tree);
   
 }
+
 void SXSIStorageInterface::printStats(){
   std::cerr << "Parsing stats :  \n";
   std::cerr << _new_child << " calls to newOpenTag/newClosingTag\n";