Branch: Tag:

1999-09-25

1999-09-25 20:14:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed program_constant related bug.

Rev: src/interpret.c:1.128

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.127 1999/09/06 10:47:15 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.128 1999/09/25 20:14:17 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
940:       case IDENTIFIER_CONSTANT:    { -  struct svalue *s=fp->context.prog->constants+function->func.offset; +  struct svalue *s=&(fp->context.prog-> +  constants[function->func.offset].sval);    debug_malloc_touch(fp);    if(s->type == T_PROGRAM)    {