pike.git/
src/
program.h
Branch:
Tag:
Non-build tags
All tags
No tags
2010-11-25
2010-11-25 20:33:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>
89378b036adc587ededd806738b540da278a56d1 (
17
lines) (+
12
/-
5
)
[
Show
|
Annotate
]
Branch:
7.9
Preparations for changing the identifier information for constants.
208:
unsigned short id; /* Reference number. */ } ext_ref;
+
/* Constant. (IDENTIFIER_CONSTANT)
+
*
+
* Offset of the struct program_constant in program.constants
+
* in the program pointed to by prog in the struct inherit
+
* that corresponds to the identifier.
+
*/
+
struct {
+
ptrdiff_t offset; /* Offset in the constants table. */
+
} const_info;
+
/* Getter/setter reference pair. (IDENTIFIER_VARIABLE && PIKE_T_GET_SET) */ struct {
224:
* variable may be either a normal or a short svalue, depending on * identifier.run_time_type. (IDENTIFIER_VARIABLE) *
-
* For constants: Offset of the struct program_constant in
-
* program.constants in the program pointed to by prog in the struct
-
* inherit that corresponds to the identifier. (IDENTIFIER_CONSTANT)
-
*
+
* For pike functions: Offset to the start of the function in * program.program in the program pointed to by prog in the struct * inherit that corresponds to the identifier. Or -1 if a prototype.
381:
* until one is found with an inherit_level less than this one. */ INT16 inherit_level;
-
/* All the identifier references in the inherited program
has
been
+
/* All the identifier references in the inherited program
have
been
* copied to this program with the first one at this offset. */ INT16 identifier_level;