Branch: Tag:

2000-11-08

2000-11-08 20:03:46 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bignums and other objects with `< `> now work properly in multisets (and switches)

Rev: src/array.c:1.93
Rev: src/docode.c:1.84
Rev: src/encode.c:1.77
Rev: src/mapping.c:1.111
Rev: src/multiset.c:1.29

25:   #include "version.h"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.76 2000/10/04 05:12:12 hubbe Exp $"); + RCSID("$Id: encode.c,v 1.77 2000/11/08 20:03:45 hubbe Exp $");      /* #define ENCODE_DEBUG */   
468:    /* This doesn't let bignums through. That's necessary as    * long as they aren't handled deterministically by the    * sort function. */ +  /* They should be hanled deterministically now - Hubbe */    error("Canonical encoding requires basic types in indices.\n");    }    order = get_switch_order(Pike_sp[-2].u.array);