Diff for /parser3/src/classes/array.C between versions 1.14 and 1.16

version 1.14, 2024/10/02 00:07:57 version 1.16, 2024/10/02 17:58:15
Line 56  static void _create_or_add(Request& r, M Line 56  static void _create_or_add(Request& r, M
                                 self_array.append(src->array());                                  self_array.append(src->array());
                         }                          }
                 } else {                  } else {
                         HashStringValue* src_hash=vsrc.get_hash();                          HashStringValue* src_hash=vsrc.as_hash("param must be array or");
                         if(!src_hash)                          if(!src_hash)
                                 return;                                  return;
                         for(HashStringValue::Iterator i(*src_hash); i; i.next()){                          for(HashStringValue::Iterator i(*src_hash); i; i.next()){
Line 126  static void _join(Request& r, MethodPara Line 126  static void _join(Request& r, MethodPara
                         }                          }
                 }                  }
         } else {          } else {
                 HashStringValue* src_hash=vsrc.get_hash();                  HashStringValue* src_hash=vsrc.as_hash("param must be array or");
                 if(!src_hash)                  if(!src_hash)
                         return;                          return;
                 if(o.defined){                  if(o.defined){
Line 866  enum AtResultType { Line 866  enum AtResultType {
         AtResultTypeHash = 2          AtResultTypeHash = 2
 };  };
   
 inline Value& SingleElementHash(String::Body akey, Value* avalue) {  static Value& SingleElementHash(String::Body akey, Value* avalue) {
         Value& result=*new VHash;          Value& result=*new VHash;
         result.put_element(*new String(akey, String::L_TAINTED), avalue);          result.put_element(*new String(akey, String::L_TAINTED), avalue);
         return result;          return result;

Removed from v.1.14  
changed lines
  Added in v.1.16


E-mail: