Diff for /parser3/src/main/pa_pool.C between versions 1.26 and 1.28

version 1.26, 2001/09/21 14:46:09 version 1.28, 2001/09/26 10:32:26
Line 2 Line 2
         Parser: pool class.          Parser: pool class.
   
         Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
   
         Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)          Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
   
           $Id$
 */  */
 static const char *RCSId="$Id$";   
   
 #include "pa_pool.h"  #include "pa_pool.h"
 #include "pa_exception.h"  #include "pa_exception.h"
Line 100  void Pool::_throw(const String *source, Line 100  void Pool::_throw(const String *source,
                 THROW(0, 0,                  THROW(0, 0,
                         source,                          source,
                         "%s (%s)",                          "%s (%s)",
                                 transcode(e.getMessage()),  // message for exception                                  transcode_cstr(e.getMessage()),  // message for exception
                                 transcode(e.getType()) // type of exception                                  transcode_cstr(e.getType()) // type of exception
                 );                  );
         else          else
                 THROW(0, 0,                  THROW(0, 0,
                         source,                          source,
                         "%s (%s) %s(%d:%d)'",                           "%s (%s) %s(%d:%d)'", 
                                 transcode(e.getMessage()),  // message for exception                                  transcode_cstr(e.getMessage()),  // message for exception
                                 transcode(e.getType()), // type of exception                                  transcode_cstr(e.getType()), // type of exception
                                                                   
                                 transcode(e.getURI()),  // URI for the associated document, if any                                  transcode_cstr(e.getURI()),  // URI for the associated document, if any
                                 e.getLineNumber(),  // line number, or -1 if unknown                                  e.getLineNumber(),  // line number, or -1 if unknown
                                 e.getColumnNumber() // column number, or -1 if unknown                                  e.getColumnNumber() // column number, or -1 if unknown
                 );                  );

Removed from v.1.26  
changed lines
  Added in v.1.28


E-mail: