pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: program.c,v 1.
578
2004/12/
08
15:
38
:
35
grubba
Exp $
+
|| $Id: program.c,v 1.
579
2004/12/
15
02
:
22
:
13
nilsson
Exp $
*/ #include "global.h" #include "program.h" #include "object.h" #include "dynamic_buffer.h" #include "pike_types.h" #include "stralloc.h" #include "las.h" #include "lex.h"
pike.git/src/program.c:3645:
Pike_compiler->new_program->facet_group = p->facet_group; } push_int(Pike_compiler->new_program->id); push_int(p->facet_index); push_int(p->id); safe_apply_low3(p->facet_group, find_identifier("add_product_class", p->facet_group->prog), 3, "Unable to add product class");
+
pop_stack();
} } /* The inherited class is not a facet class */ else if (p && p->facet_class == PROGRAM_IS_PRODUCT_CLASS) { if (Pike_compiler->new_program->facet_class == PROGRAM_IS_FACET_CLASS) { yyerror("Facet class can't inherit from product class."); } else if(Pike_compiler->new_program->facet_class==PROGRAM_IS_PRODUCT_CLASS){ yyerror("Product class can't inherit from other prodcut class."); }