pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:4635:
yyerror ("(You probably have a cyclic symbol dependency that the " "compiler cannot handle.)"); return; } if (p == placeholder_program) { yyerror("Trying to inherit placeholder program (resolver problem)."); return; }
+
if (p->flags & PROGRAM_HAS_C_METHODS) {
+
Pike_compiler->new_program->flags |= PROGRAM_HAS_C_METHODS;
+
}
+
/* parent offset was increased by 42 for above test.. */ if(parent_offset) parent_offset-=42; inherit_offset = Pike_compiler->new_program->num_inherits; /* alignment magic */ storage_offset=p->inherits[0].storage_offset % p->alignment_needed; storage_offset=low_add_storage(STORAGE_NEEDED(p), p->alignment_needed,