Diff for /parser3/src/classes/Attic/dnode.C between versions 1.3 and 1.5

version 1.3, 2001/09/20 07:31:51 version 1.5, 2001/09/21 14:46:09
Line 5 Line 5
   
         Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)          Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
 */  */
 static const char *RCSId="$Id$";   #include "classes.h"
   #ifdef XML
   
 #if _MSC_VER  static const char *RCSId="$Id$"; 
 #       pragma warning(disable:4291)   // disable warning   
 //      "no matching operator delete found; memory will not be freed if initialization throws an exception  
 #endif  
   
 #include "classes.h"  
 #include "pa_request.h"  #include "pa_request.h"
 #include "pa_vdnode.h"  #include "pa_vdnode.h"
   
Line 67  static void _select(Request& r, const St Line 64  static void _select(Request& r, const St
                 result.set_name(method_name);                  result.set_name(method_name);
                 r.write_no_lang(result);                  r.write_no_lang(result);
         } catch(const XSLException& e) {          } catch(const XSLException& e) {
                 _throw(pool, &expression, e);                  r._throw(&expression, e);
         }          }
 }  }
   
Line 98  static void _select_single(Request& r, c Line 95  static void _select_single(Request& r, c
                         r.write_no_lang(result);                          r.write_no_lang(result);
                 }                  }
         } catch(const XSLException& e) {          } catch(const XSLException& e) {
                 _throw(pool, &expression, e);                  r._throw(&expression, e);
         }          }
 }  }
   
Line 118  MDnode::MDnode(Pool& apool) : Methoded(a Line 115  MDnode::MDnode(Pool& apool) : Methoded(a
   
 Methoded *Dnode_class;  Methoded *Dnode_class;
   
 // creator  #endif
   
   // creator
 Methoded *MDnode_create(Pool& pool) {  Methoded *MDnode_create(Pool& pool) {
         return Dnode_class=new(pool) MDnode(pool);          return 
   #ifdef XML
                   Dnode_class=new(pool) MDnode(pool)
   #else
                   0
   #endif
                   ;
 }  }

Removed from v.1.3  
changed lines
  Added in v.1.5


E-mail: