Diff for /parser3/src/classes/string.C between versions 1.33 and 1.34

version 1.33, 2001/04/03 17:15:06 version 1.34, 2001/04/03 17:43:49
Line 165  static void replace_action(Table& table, Line 165  static void replace_action(Table& table,
                         vtable.set_name(*ai.origin);                          vtable.set_name(*ai.origin);
   
                         Junction *junction=ai.replacement_code->get_junction();                          Junction *junction=ai.replacement_code->get_junction();
                         junction->rcontext/*=junction->self*/=&vtable;                          junction->rcontext=junction->root=&vtable;
                         Value& replaced=ai.request->process(*ai.replacement_code, ai.origin, false);                          Value& replaced=ai.request->process(*ai.replacement_code, ai.origin, false);
   
                           /*
                         ai.dest->APPEND_CONST("(");                          ai.dest->APPEND_CONST("(");
                                 ai.dest->append(*(String *)row->get(1/*match*/), String::UL_PASS_APPENDED);                                  ai.dest->append(*(String *)row->get(1/*match* /), String::UL_PASS_APPENDED);
                         ai.dest->APPEND_CONST(")");                          ai.dest->APPEND_CONST(")");
                         //ai.dest->append(replaced.as_string(), String::UL_PASS_APPENDED);                          */
                           ai.dest->append(replaced.as_string(), String::UL_PASS_APPENDED);
                 }                  }
                 ai.post_match=(String *)row->get(2/*post_match*/);                  ai.post_match=(String *)row->get(2/*post_match*/);
         } else // end          } else // end
Line 234  static void _match(Request& r, const Str Line 236  static void _match(Request& r, const Str
                 result=new(pool) VString(dest);                  result=new(pool) VString(dest);
         }          }
         result->set_name(method_name);          result->set_name(method_name);
         r.write_no_lang(*result);          r.write_assign_lang(*result);
 }  }
   
 // initialize  // initialize

Removed from v.1.33  
changed lines
  Added in v.1.34


E-mail: