Branch: Tag:

2001-07-03

2001-07-03 17:12:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Workaround for [bug 1839 (#1839)].

Rev: src/program.c:1.231

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.230 2001/06/14 16:25:33 grubba Exp $"); + RCSID("$Id: program.c,v 1.231 2001/07/03 17:12:28 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
2014:    if(n==-1)    yyerror("Pass2: Variable disappeared!");    else { +  /* Don't mess with inherited variables... */ +  if(!IDENTIFIERP(n)->inherit_offset) {    struct identifier *id;    id=ID_FROM_INT(new_program,n);    free_string(id->type);    copy_shared_string(id->type, type); -  +  }    return n;    }    }