Branch: Tag:

2000-02-07

2000-02-07 04:46:43 by Per Hedbor <ph@opera.com>

For now, ignore the type for overloaded variables (please leave it like this until types for variables in programs restored from .o files using decode_value() is correct)

Rev: src/program.c:1.201

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.200 2000/01/27 23:17:12 hubbe Exp $"); + RCSID("$Id: program.c,v 1.201 2000/02/07 04:46:43 per Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
1926:       if(!(IDENTIFIERP(n)->id_flags & ID_INLINE) || compiler_pass!=1)    { -  if(ID_FROM_INT(new_program, n)->type != type) -  my_yyerror("Illegal to redefine inherited variable " -  "with different type."); + /* if(ID_FROM_INT(new_program, n)->type != type) */ + /* my_yyerror("Illegal to redefine inherited variable " */ + /* "with different type."); */       if(!IDENTIFIER_IS_VARIABLE(ID_FROM_INT(new_program, n)->    identifier_flags))
3871:    }    return 1;   } -  -  +