Branch: Tag:

1999-03-02

1999-03-02 03:13:35 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

int(X..Y) implemented, plus some bugfixes and removed two memory 'leaks'

Rev: src/constants.c:1.15
Rev: src/global.h:1.28
Rev: src/interpret.c:1.116
Rev: src/interpret.h:1.27
Rev: src/language.yacc:1.111
Rev: src/las.c:1.75
Rev: src/main.c:1.64
Rev: src/modules/Gmp/mpz_glue.c:1.40
Rev: src/operators.c:1.48
Rev: src/pike_types.c:1.54
Rev: src/pike_types.h:1.18
Rev: src/stralloc.h:1.33
Rev: src/svalue.h:1.22
Rev: src/testsuite.in:1.151

15:   #include "error.h"   #include "block_alloc.h"    - RCSID("$Id: constants.c,v 1.14 1999/02/10 21:46:39 hubbe Exp $"); + RCSID("$Id: constants.c,v 1.15 1999/03/02 03:13:13 hubbe Exp $");      static INT32 num_callable=0;   static struct mapping *builtin_constants = 0;
158:    free_mapping(builtin_constants);    builtin_constants=0;    } +  free_all_callable_blocks();   }   void count_memory_in_callables(INT32 *num_, INT32 *size_)   {    *num_=num_callable;    *size_=num_callable*sizeof(struct callable);   }