Branch: Tag:

1997-01-22

1997-01-22 05:19:48 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

class A {}; class B {inherit A;}; now works, typechecking improved

Rev: src/compilation.h:1.3
Rev: src/las.c:1.13
Rev: src/pike_types.c:1.13
Rev: src/pike_types.h:1.3
Rev: src/program.c:1.14
Rev: src/program.h:1.8
Rev: src/testsuite.in:1.16
Rev: src/version.c:1.4
Rev: src/version.h:1.2

75:    ZMEMBER(struct pike_string *,X)   #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) -  STRMEMBER(current_file,"current_file") -  SEND - #endif -  +    #ifdef PROGRAM_STATE    SNAME(program_state,previous_program_state)    ZMEMBER(INT32,last_line)
97: Inside #if defined(PROGRAM_STATE)
   ZMEMBER(int,num_parse_error)    ZMEMBER(struct locals *,local_variables)    ZMEMBER(dynamic_buffer,inherit_names) +  ZMEMBER(dynamic_buffer,used_modules)    ZMEMBER2(dynamic_buffer,areas,[NUM_AREAS])    IMEMBER(int,comp_stackp)    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