Branch: Tag:

2006-02-25

2006-02-25 11:14:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug causing local variables to never be reused, which in turn leads to huge stack frames.

Rev: src/language.yacc:1.186

188:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.185 2001/08/02 23:10:39 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.186 2006/02/25 11:14:04 grubba Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
2893:    q->lexical_scope=2;    q=q->previous;    } +  if (depth) {    if(q->min_number_of_locals < e+1)    q->min_number_of_locals = e+1; -  +  }       return mklocalnode(e,depth);    }