pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:5048:
if (!pike_types_le(n->type, inheritable_type_string) && (THIS_COMPILATION->lex.pragmas & ID_STRICT_TYPES)) { yytype_report(REPORT_WARNING, n->current_file, n->line_number, inheritable_type_string, n->current_file, n->line_number, n->type, 0, "Program required for inherit.\n"); } switch(n->token) {
-
case F_IDENTIFIER:
-
p=Pike_compiler->new_program;
-
offset=0;
-
numid=n->u.id.number;
-
goto continue_inherit;
-
+
case F_EXTERNAL: { struct program_state *state = Pike_compiler; offset = 0; while (state && (state->new_program->id != n->u.integer.a)) { state = state->previous; offset++; } if (!state) {