Branch: Tag:

2006-03-02

2006-03-02 10:37:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for the bug noted in LysLysKOM 14180500, where reused local variables weren't cleared properly.

Rev: src/docode.c:1.70
Rev: src/language.yacc:1.187
Rev: src/las.c:1.181

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.180 2006/01/09 13:20:00 grubba Exp $"); + RCSID("$Id: las.c,v 1.181 2006/03/02 10:37:58 grubba Exp $");      #include "language.h"   #include "interpret.h"
808:    _CDR(res) = 0;   #endif    res->u.integer.a = var; +  if (depth < 0) { +  res->node_info |= OPT_ASSIGNMENT; +  res->u.integer.b = 0; +  } else {    res->u.integer.b = depth; -  +  }      #ifdef SHARED_NODES    /* FIXME: Not common-subexpression optimized.