pike.git/
src/
program.h
Branch:
Tag:
Non-build tags
All tags
No tags
2019-02-02
2019-02-02 18:29:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>
f14acec5e89e5498ac38fe41f72e45879035d834 (
11
lines) (+
10
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Runtime: Extended low_get_line() with local variable info.
682:
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
990:
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,