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

version 1.3, 2001/03/12 17:16:48 version 1.5, 2001/03/12 18:19:36
Line 27  static void set_or_load( Line 27  static void set_or_load(
         Pool& pool=r.pool();          Pool& pool=r.pool();
         // data is last parameter          // data is last parameter
         Value *vdata=static_cast<Value *>(params->get(params->size()-1));          Value *vdata=static_cast<Value *>(params->get(params->size()-1));
           // forcing
           //      [this param type] 
           //      [this param type] 
         r.fail_if_junction_(true, *vdata,           r.fail_if_junction_(true, *vdata, 
                 method_name, "body must not be a junction");                  method_name, "body must not be a junction");
   
Line 86  void initialize_table_class(Pool& pool, Line 89  void initialize_table_class(Pool& pool,
         // ^table.set[data]  ^table.set[nameless;data]          // ^table.set[data]  ^table.set[nameless;data]
         vclass.add_native_method("set", _set, 1, 2);          vclass.add_native_method("set", _set, 1, 2);
   
         // ^table.load[data]  ^table.load[nameless;data]          // ^table.load[file]  ^table.load[nameless;file]
         vclass.add_native_method("load", _load, 1, 2);          vclass.add_native_method("load", _load, 1, 2);
 }         }       

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


E-mail: