pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:1622:    if (Pike_compiler->compiler_pass == 2)    yywarning("Using object as program identifier.");    f_object_program(1);    }    }    }       switch(TYPEOF(Pike_sp[-1])) {    case T_FUNCTION:    if((p = program_from_function(Pike_sp-1))) { -  push_object_type(0, p?(p->id):0); +  push_object_type(0, p->id);    break;    } else {    /* Attempt to get the return type for the function. */    struct pike_type *a, *b;    a = get_type_of_svalue(Pike_sp-1);    /* Note: check_splice_call() below eats a reference from a.    * Note: CALL_INHIBIT_WARNINGS is needed since we don't    * provide a function name (and we don't want    * warnings here anyway).    */