Branch: Tag:

1999-09-19

1999-09-19 22:59:45 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

minor bugfixes

Rev: src/language.yacc:1.124
Rev: src/las.c:1.91
Rev: src/program.c:1.152

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.90 1999/09/19 21:11:47 grubba Exp $"); + RCSID("$Id: las.c,v 1.91 1999/09/19 22:59:44 hubbe Exp $");      #include "language.h"   #include "interpret.h"
1037:    else    b->type=0;    } -  if(n->name) add_ref(b->name=n->name); +  if(n->name) +  { +  if(b->name) free_string(b->name); +  add_ref(b->name=n->name); +  }    b->line_number = n->line_number;    b->node_info = n->node_info;    b->tree_info = n->tree_info;