Branch: Tag:

1999-10-24

1999-10-24 05:56:37 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

fixed increment and decrement to work properly with AUTO_BIGNUM

Rev: src/interpret.c:1.131
Rev: src/interpreter.h:1.16
Rev: src/object.c:1.86
Rev: src/peep.c:1.26
Rev: src/program.c:1.165
Rev: src/program.h:1.62
Rev: src/svalue.c:1.50

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.164 1999/10/22 16:04:04 grubba Exp $"); + RCSID("$Id: program.c,v 1.165 1999/10/24 05:56:35 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
102:    "`+=",    "_is_type",    "_sprintf", +  "_equal",   };      struct program *first_program = 0;
816:    {    case T_FUNCTION:    case T_MIXED: return sizeof(struct svalue); -  case T_INT: return sizeof(INT_TYPE); +     case T_FLOAT: return sizeof(FLOAT_TYPE); -  +  case T_INT: return sizeof(INT_TYPE);    default: return sizeof(char *);    }   }
828:    {    case T_FUNCTION:    case T_MIXED: return ALIGNOF(struct svalue); -  case T_INT: return ALIGNOF(INT_TYPE); +     case T_FLOAT: return ALIGNOF(FLOAT_TYPE); -  +  case T_INT: return ALIGNOF(INT_TYPE);    default: return ALIGNOF(char *);    }   }
1742:       switch(run_time_type)    { + #ifdef AUTO_BIGNUM +  case T_INT: + #endif    case T_FUNCTION:    case T_PROGRAM:    run_time_type = T_MIXED;