Branch: Tag:

2004-10-22

2004-10-22 23:26:13 by Martin Nilsson <mani@lysator.liu.se>

Facets

Rev: src/.cvsignore:1.37
Rev: src/Makefile.in:1.387
Rev: src/errors.h:1.27
Rev: src/facetgroup.cmod:1.1
Rev: src/interpret.c:1.357
Rev: src/interpret.h:1.155
Rev: src/language.yacc:1.344
Rev: src/lexer.h:1.50
Rev: src/main.c:1.215
Rev: src/program.c:1.572
Rev: src/program.h:1.212

2:   || 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.h,v 1.211 2004/09/28 23:58:26 mast Exp $ + || $Id: program.h,v 1.212 2004/10/22 23:24:50 nilsson Exp $   */      #ifndef PROGRAM_H
472:    * parent object. Only set if PROGRAM_USES_PARENT is. */   #define PROGRAM_NEEDS_PARENT 0x1000    + /* Indicates that the class is a facet or product_class. */ + #define PROGRAM_IS_FACET_CLASS 0x1 + #define PROGRAM_IS_PRODUCT_CLASS 0x2 +    /* Using define instead of enum allows for ifdefs - Hubbe */   #define PROG_EVENT_INIT 0   #define PROG_EVENT_EXIT 1
539:   #include "program_areas.h"       INT16 lfuns[NUM_LFUNS]; +  +  /* Facet related stuff */ +  INT16 facet_class; /* PROGRAM_IS_X_CLASS (X=FACET/PRODUCT) */ +  INT32 facet_index; /* Index to the facet this facet class belongs to */ +  struct object *facet_group;   };      #if 0