pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:6230:   {    INT32 ret;    struct svalue tmp;    if (p) {    SET_SVAL(tmp, T_PROGRAM, 0, program, p);    } else {    /* Probable compilation error in a C-module. */    SET_SVAL(tmp, T_INT, NUMBER_UNDEFINED, integer, 0);    my_yyerror("Program constant \"%s\" is NULL.", name);    } +  if (!Pike_compiler->new_program) return -1;    ret=simple_add_constant(name, &tmp, flags);    return ret;   }      PMOD_EXPORT int add_object_constant(const char *name,    struct object *o,    INT32 flags)   {    INT32 ret;    struct svalue tmp;