pike.git / src / compilation.h

version» Context lines:

pike.git/src/compilation.h:7:   /*    * IMEMBER: do not reset this member when popping    * ZMEMBER: reset this member to zero when pushing    *    * defining STRUCT defines the structures    * defining DECLARE creates global vars for saving linked list    * of these lists...    * defining PUSH pushes the selected state(s) on the stack(s)    * defining POP pops the selected state(s) from the stack(s)    * -  * define FILE_STATE to select the file state +     * define PROGRAM_STATE to select the program state    */      #ifdef STRUCT   #define IMEMBER(X,Y) X Y ;   #define IMEMBER2(X,Y,Z) X Y Z ;   #define ZMEMBER(X,Y) X Y ;   #define ZMEMBER2(X,Y,Z) X Y Z ;   #define SNAME(X,Y) struct X { struct X *previous;   #define SEND };
pike.git/src/compilation.h:68: Inside #if defined(DEBUG)
     #ifdef DEBUG   #define STRMEMBER(X,Y) \    PCODE(if(X) fatal("Variable %s not deallocated properly.\n",Y);) \    ZMEMBER(struct pike_string *,X)   #else   #define STRMEMBER(X,Y) \    ZMEMBER(struct pike_string *,X)   #endif    - #ifdef PROGRAM_STATE +     SNAME(program_state,previous_program_state)    ZMEMBER(INT32,last_line)    STRMEMBER(last_file,"last_file") -  ZMEMBER(struct program,fake_program) +  ZMEMBER(struct program *,new_program) +  ZMEMBER(struct program *,malloc_size_program)    ZMEMBER(node *,init_node)    ZMEMBER(INT32,last_pc)    ZMEMBER(int,num_parse_error) -  ZMEMBER(struct locals *,local_variables) -  ZMEMBER(dynamic_buffer,inherit_names) +  ZMEMBER(struct compiler_frame *,compiler_frame)    ZMEMBER(dynamic_buffer,used_modules) -  ZMEMBER2(dynamic_buffer,areas,[NUM_AREAS]) +     IMEMBER(int,comp_stackp) -  +  IMEMBER(int,compiler_pass)    SEND - #endif +     - #ifdef FILE_STATE -  SNAME(file_state,previous_file_state) -  ZMEMBER(INT32,old_line) -  ZMEMBER(INT32,current_line) -  ZMEMBER(INT32,nexpands) -  ZMEMBER(int,pragma_all_inline) -  ZMEMBER(struct inputstate *,istate) -  ZMEMBER(struct hash_table *,defines) -  ZMEMBER(struct program_state *,previous_program_state) -  STRMEMBER(current_file,"current_file") -  SEND - #endif -  -  +    #undef PCODE   #undef STRMEMBER   #undef IMEMBER   #undef ZMEMBER   #undef IMEMBER2   #undef ZMEMBER2   #undef SNAME   #undef SEND -  +  + #undef STRUCT + #undef PUSH + #undef POP + #undef DECLARE