Branch: Tag:

2001-07-13

2001-07-13 14:30:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported fix for [bug 1670 (#1670)] from Pike 7.3.

Rev: src/las.c:1.237

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.236 2001/07/02 20:32:55 mast Exp $"); + RCSID("$Id: las.c,v 1.237 2001/07/13 14:30:48 grubba Exp $");      #include "language.h"   #include "interpret.h"
501: Inside #if defined(SHARED_NODES)
   */    sub_node(orig);    } +  /* Propagate the line-number information. */ +  n->line_number = orig->line_number; + #ifdef PIKE_DEBUG +  if (orig->current_file) { +  if (n->current_file) { +  free_string(n->current_file); +  } +  n->current_file = orig->current_file; +  orig->current_file = NULL; +  } + #endif /* PIKE_DEBUG */    free_node(dmalloc_touch(node *, orig));    n->refs++;    return check_node_hash(dmalloc_touch(node *, n));