pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:12006:    switch(arg_type->type) {    case T_ASSIGN:    case PIKE_T_NAME:    arg_type = arg_type->cdr;    goto loop;       /* FIXME: PIKE_T_ATTRIBUTE's ought to propagate out to the basic types.    */       case T_OR: +  if (arg_type->car == zero_type_string) { +  arg_type = arg_type->cdr; +  goto loop; +  } +  if (arg_type->cdr == zero_type_string) { +  arg_type = arg_type->car; +  goto loop; +  }    if (!(tmp = low_new_check_call(fun_type, arg_type->car,    flags | CALL_WEAK_VOID, sval))) {    if (flags & CALL_STRICT) {    return NULL;    }    arg_type = arg_type->cdr;    goto loop;    }    if (!(tmp2 = low_new_check_call(fun_type, arg_type->cdr,    flags | CALL_WEAK_VOID, sval))) {