pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:11718:    * where a value only can have one of the    * types at a time.    * In strict mode the former should be split here,    * and the latter kept.    * In non-strict mode both should be split here.    * Suggestion:    * Introduce a new operator (UNION?) for the former case.    */       loop: -  clear_markers(); +     /* First split the argument type into basic types. */    switch(arg_type?arg_type->type:PIKE_T_UNKNOWN) {    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.    */   
pike.git/src/pike_types.cmod:12649:    if (!args || !fun_type) {    debug_malloc_touch(fun_type);    return fun_type;    }       orig_arg_parent = args->parent;    args->parent = NULL; /* End marker. */       debug_malloc_touch(fun_type);    +  clear_markers();    while (args && fun_type) {    if ((args->token == F_ARG_LIST) || (args->token == F_LVALUE_LIST)) {    if (CDR(args)) {    num_cdr++;    flags |= CALL_NOT_LAST_ARG;    }    if (args->token == F_LVALUE_LIST) {    num_lvalue++;    flags |= CALL_ARG_LVALUE;    }