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

1: - stest_true([["$Id: testsuite.in,v 1.150 1999/03/01 21:30:17 grubba Exp $"]]) + stest_true([["$Id: testsuite.in,v 1.151 1999/03/02 03:13:31 hubbe Exp $"]])   cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())
901:   ]])      // typeof - test_eq(typeof(1),"int") + test_eq(typeof(1),"int(1..1)")   test_eq(typeof(""),"string")   test_eq(typeof(""[0]),"int")   test_eq(typeof(0.0),"float")   test_eq(typeof(all_constants()["all_constants"]),"mixed")      // _typeof - test_eq(_typeof(1),"int") + test_eq(_typeof(1),"int(1..1)")   test_eq(_typeof(""),"string") - test_eq(_typeof("x"[0]),"int") + test_eq(_typeof("x"[0]),"int(120..120)")   test_eq(_typeof(0.0),"float")   test_eq(_typeof(this_object)-" ","function(:object)")   
2891:    {    test_dir(file);    }else if(stat[1]>=0){ -  if(glob(file,"*.pike") || glob(file,"*.pmod")) +  if(glob("*.pike",file) || glob("*.pmod",file))    (program)file;    }    }