Branch: Tag:

1998-01-13

1998-01-13 23:01:47 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

Compiler update to use two pass

Rev: src/acconfig.h:1.14
Rev: src/builtin_functions.c:1.59
Rev: src/builtin_functions.h:1.5
Rev: src/compilation.h:1.4
Rev: src/configure.in:1.149
Rev: src/cpp.c:1.3
Rev: src/docode.c:1.24
Rev: src/docode.h:1.4
Rev: src/gc.c:1.24
Rev: src/interpret.c:1.57
Rev: src/interpret.h:1.16
Rev: src/language.yacc:1.51
Rev: src/las.c:1.40
Rev: src/las.h:1.9
Rev: src/lex.c:1.37
Rev: src/lex.h:1.7
Rev: src/main.c:1.32
Rev: src/modules/Image/blit.c:1.26
Rev: src/modules/Image/colortable.c:1.33
Rev: src/modules/Image/dct.c:1.11
Rev: src/modules/Image/image.c:1.73
Rev: src/modules/Image/matrix.c:1.13
Rev: src/modules/Image/operator.c:1.11
Rev: src/modules/Image/pattern.c:1.11
Rev: src/modules/Image/pnm.c:1.9
Rev: src/modules/Image/polyfill.c:1.18
Rev: src/modules/Image/togif.c:1.29
Rev: src/modules/Image/x.c:1.17
Rev: src/modules/Pipe/pipe.c:1.15
Rev: src/modules/Regexp/glue.c:1.9
Rev: src/modules/_Crypto/cbc.c:1.10
Rev: src/modules/_Crypto/crypto.c:1.24
Rev: src/modules/_Crypto/des.c:1.11
Rev: src/modules/_Crypto/pipe.c:1.11
Rev: src/modules/_Crypto/sha.c:1.9
Rev: src/modules/files/socktest.pike:1.6
Rev: src/modules/system/system.c:1.37
Rev: src/object.c:1.31
Rev: src/object.h:1.13
Rev: src/opcodes.c:1.10
Rev: src/operators.c:1.22
Rev: src/peep.c:1.16
Rev: src/peep.in:1.9
Rev: src/pike_types.c:1.27
Rev: src/pike_types.h:1.6
Rev: src/program.c:1.48
Rev: src/program.h:1.24
Rev: src/program_areas.h:1.2
Rev: src/stralloc.c:1.21
Rev: src/stralloc.h:1.10
Rev: src/svalue.c:1.18
Rev: src/testsuite.in:1.64
Rev: src/threads.c:1.51
Rev: src/threads.h:1.26

14:    * 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    */   
75:    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
113:   #undef ZMEMBER2   #undef SNAME   #undef SEND +  + #undef STRUCT + #undef PUSH + #undef POP + #undef DECLARE