pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:7919:    SIMPLE_BAD_ARG_ERROR("replace_master", 1, "object");    new_master = Pike_sp[-args].u.object;    if(!new_master->prog)    bad_arg_error("replace_master", Pike_sp-args, args, 1, "object", Pike_sp-args,    "Called with destructed object.\n");       if (SUBTYPEOF(Pike_sp[-args]))    bad_arg_error("replace_master", Pike_sp-args, args, 1, "object", Pike_sp-args,    "Subtyped master objects are not supported yet.\n");    -  push_constant_text ("is_pike_master"); +  push_text ("is_pike_master");    args++;    object_set_index (new_master, 0, Pike_sp - 1, (struct svalue *) &svalue_int_one);       free_object(master_object);    master_object=new_master;    add_ref(master_object);       free_program(master_program);    master_program=master_object->prog;    add_ref(master_program);
pike.git/src/builtin_functions.c:9434:    INT_TYPE line;    struct pike_string *tmp = low_get_program_line(p, &line);       pop_n_elems(args);       if (tmp)    {    push_string(tmp);    if(line >= 1)    { -  push_constant_text(":"); +  push_text(":");    push_int(line);    f_add(3);    }    }    else    push_int(0);    return;    }       id = ID_FROM_INT(p, offset);
pike.git/src/builtin_functions.c:9463:    file = low_get_program_line (p2, &line);    else    /* The program line is better than nothing for C functions. */    file = low_get_program_line (p, &line);       if (file)    {    pop_n_elems(args);    if (line) {    push_string(file); -  push_constant_text(":"); +  push_text(":");    push_int(line);    f_add(3);    }    else    push_string (file);    return;    }    pop_n_elems(args);    push_int(0);   }
pike.git/src/builtin_functions.c:9611:    file = low_get_program_line (p2, &line);    else    /* The program line is better than nothing for C functions. */    file = low_get_program_line (p, &line);       if (file)    {    pop_n_elems(args);    if (line) {    push_string(file); -  push_constant_text(":"); +  push_text(":");    push_int(line);    f_add(3);    }    else    push_string (file);    return;    }    }       pop_n_elems(args);