pike.git / src / compilation.h

version» Context lines:

pike.git/src/compilation.h:1:   /* -  * $Id: compilation.h,v 1.27 2002/06/25 14:26:40 grubba Exp $ +  * $Id: compilation.h,v 1.28 2002/08/15 14:49:20 marcus Exp $    *    * Compilator state push / pop operator construction file    *    * (Can you tell I like macros?)    */      /*    * IMEMBER: do not reset this member when pushing    * DMEMBER: This member should be the same when popping as when pushing.    * ZMEMBER: reset this member to zero when pushing
pike.git/src/compilation.h:82:         #ifdef POP   #define IMEMBER(X,Y,Z)   #define IMEMBER2(X,Y,Z,Q) IMEMBER(X,Y)   #define ZMEMBER(X,Y,Z)   #define ZMEMBER2(X,Y,Z,Q) ZMEMBER(X,Y)      #define DMEMBER(X,Y,Z) DO_DEBUG_CODE( \    if(MEMCMP((char *)&(Pike_compiler->Y), (char *)&(oLd->Y), sizeof(oLd->Y))) \ -  fatal("Variable " #Y " became whacked during compilation.\n"); ) \ +  Pike_fatal("Variable " #Y " became whacked during compilation.\n"); ) \    IMEMBER(X,Y)      #define STACKMEMBER(X,Y,Z) DO_DEBUG_CODE( \    if(Pike_compiler->Y < oLd->Y) \ -  fatal("Stack " #Y " shrunk %ld steps compilation, currently: %p.\n", \ +  Pike_fatal("Stack " #Y " shrunk %ld steps compilation, currently: %p.\n", \    PTRDIFF_T_TO_LONG(oLd->Y - Pike_compiler->Y), Pike_compiler->Y); )      #define SNAME(X,Y) { \    struct X *oLd=Pike_compiler->previous;      #define SEND \    free((char *)Pike_compiler); \    Pike_compiler=oLd; \    }      #define PCODE(X) X   #else   #define PCODE(X)   #endif         #ifdef PIKE_DEBUG   #define STRMEMBER(X,Y) \ -  PCODE(if(Pike_compiler->X) fatal("Variable " #X " not deallocated properly.\n");) \ +  PCODE(if(Pike_compiler->X) Pike_fatal("Variable " #X " not deallocated properly.\n");) \    ZMEMBER(struct pike_string *,X,Y)   #else   #define STRMEMBER(X,Y) \    ZMEMBER(struct pike_string *,X,Y)   #endif       SNAME(program_state,Pike_compiler)    ZMEMBER(INT32,last_line,0)    STRMEMBER(last_file,0)    ZMEMBER(struct object *,fake_object,0)