Branch: Tag:

2005-06-09

2005-06-09 17:57:56 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug that caused free_all_nodes to free nodes too often. It could be
trigged either after compilation errors or when rtldebug is used.

Rev: src/las.c:1.328

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: las.c,v 1.327 2005/02/18 13:32:34 grubba Exp $ + || $Id: las.c,v 1.328 2005/06/09 17:57:56 mast Exp $   */      #include "global.h" - RCSID("$Id: las.c,v 1.327 2005/02/18 13:32:34 grubba Exp $"); + RCSID("$Id: las.c,v 1.328 2005/06/09 17:57:56 mast Exp $");      #include "language.h"   #include "interpret.h"
559:      void free_all_nodes(void)   { -  if(!Pike_compiler->compiler_frame) +  if(!Pike_compiler->previous)    {    node *tmp;    struct node_s_block *tmp2;