Diff for /parser3/src/classes/double.C between versions 1.36 and 1.38

version 1.36, 2001/08/07 13:54:13 version 1.38, 2001/10/09 07:06:00
Line 2 Line 2
         Parser: @b double parser class.          Parser: @b double parser 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 "classes.h"  #include "classes.h"
 #include "pa_request.h"  #include "pa_request.h"
Line 59  static void vdouble_op(Request& r, Metho Line 59  static void vdouble_op(Request& r, Metho
                                            vdouble_op_func_ptr func) {                                             vdouble_op_func_ptr func) {
         VDouble *vdouble=static_cast<VDouble *>(r.self);          VDouble *vdouble=static_cast<VDouble *>(r.self);
         double param=params->size()?          double param=params->size()?
                 r.process(                          params->as_double(0, "param must be double", r):1/*used in inc/dec*/;
                         params->get(0),  
                         0/*no name*/,  
                         false/*don't intercept string*/).as_double():1/*used in inc/dec*/;  
         (*func)(*vdouble, param);          (*func)(*vdouble, param);
 }  }
   

Removed from v.1.36  
changed lines
  Added in v.1.38


E-mail: