pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:5682:    low_add_storage(sizeof_variable(run_time_type),    alignof_variable(run_time_type),0),    run_time_type);       if( no_this )    ID_FROM_INT(Pike_compiler->new_program, n)->identifier_flags |= IDENTIFIER_NO_THIS_REF;       return n;   }    - PMOD_EXPORT int simple_add_variable(const char *name, -  const char *type, -  INT32 flags) - { -  INT32 ret; -  struct pike_string *name_s; -  struct pike_type *type_s; -  name_s = make_shared_string(name); -  type_s = parse_type(type); -  -  ret=define_variable(name_s, type_s, flags); -  free_string(name_s); -  free_type(type_s); -  return ret; - } -  +    PMOD_EXPORT int add_constant(struct pike_string *name,    const struct svalue *c,    INT32 flags)   {    int n;    struct compilation *cc = THIS_COMPILATION;    struct identifier dummy;    struct reference ref;      #ifdef PROGRAM_BUILD_DEBUG