pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:689:      #define FOO(NUMTYPE,TYPE,ARGTYPE,NAME) TYPE * NAME ;   #include "program_areas.h"      #define FOO(NUMTYPE,TYPE,ARGTYPE,NAME) NUMTYPE PIKE_CONCAT(num_,NAME) ;   #include "program_areas.h"       INT16 lfuns[NUM_LFUNS];   };    + struct local_variable_info + { +  int names[MAX_LOCAL]; /* Offset in strings. */ +  int types[MAX_LOCAL]; /* Offset in constants. */ +  int num_local; /* Number of entries in either of the above. */ + }; +    PMOD_EXPORT void dump_program_tables (const struct program *p, int indent);      #ifdef PIKE_DEBUG   PIKE_UNUSED_ATTRIBUTE   static inline unsigned INT16 CHECK_IDREF_RANGE(unsigned INT16 x, const struct program *p) {    if (x >= p->num_identifier_references) {    dump_program_tables(p, 4);    debug_fatal ("Identifier reference index %d out of range 0..%d\n", x,    p->num_identifier_references - 1);    }
pike.git/src/program.h:986:   struct array *program_annotations(struct program *p, int flags);   int low_program_index_no_free(struct svalue *to, struct program *p, int e,    struct object *parent, int parent_identifier);   int program_index_no_free(struct svalue *to, struct svalue *what,    struct svalue *ind);   INT_TYPE get_small_number(char **q);   void ext_store_program_line (struct program *prog, INT_TYPE line,    struct pike_string *file);   void start_line_numbering(void);   void store_linenumber(INT_TYPE current_line, struct pike_string *current_file); + void store_linenumber_frame_name(int frame_offset, int string_num); + void store_linenumber_frame_type(int frame_offset, int constant_num); + void store_linenumber_frame_end(int frame_offset);   PMOD_EXPORT struct pike_string *low_get_program_line(struct program *prog,    INT_TYPE *linep);   PMOD_EXPORT struct pike_string *get_program_line(struct program *prog,    INT_TYPE *linep);   PMOD_EXPORT char *low_get_program_line_plain (struct program *prog,    INT_TYPE *linep,    int malloced);   PMOD_EXPORT struct pike_string *low_get_line(PIKE_OPCODE_T *pc,    struct program *prog, -  INT_TYPE *linep); +  INT_TYPE *linep, +  struct local_variable_info *vars);   PMOD_EXPORT char *low_get_line_plain (PIKE_OPCODE_T *pc, struct program *prog,    INT_TYPE *linep, int malloced);   PMOD_EXPORT struct pike_string *get_line(PIKE_OPCODE_T *pc,    struct program *prog,    INT_TYPE *linep);   PMOD_EXPORT struct pike_string *low_get_function_line (struct object *o,    int fun,    INT_TYPE *linep);   PMOD_EXPORT struct pike_string *get_identifier_line(struct program *p,    int fun,