Branch: Tag:

1999-03-02

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

bugfix

Rev: src/operators.c:1.49

5:   \*/   #include "global.h"   #include <math.h> - RCSID("$Id: operators.c,v 1.48 1999/03/02 03:13:24 hubbe Exp $"); + RCSID("$Id: operators.c,v 1.49 1999/03/02 03:22:13 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "multiset.h"
1940:    /* function(mixed...:int) */    ADD_EFUN2("`!=",f_ne,tFuncV(,tMix,tInt),OPT_TRY_OPTIMIZE,0,generate_comparison);    /* function(mixed:int) */ -  add_efun2("`!",f_not,"!function(int(0..0):mixed)&function(mixed:int(0..0))|function(int(0..0):int(1..1))",OPT_TRY_OPTIMIZE,optimize_not,generate_not); +  add_efun2("`!",f_not,"function(mixed:int(0..1))",OPT_TRY_OPTIMIZE,optimize_not,generate_not);      #define CMP_TYPE "!function(!object...:mixed)&function(mixed...:int(0..1))|function(int|float...:int(0..1))|function(string...:int(0..1))"    add_efun2("`<", f_lt,CMP_TYPE,OPT_TRY_OPTIMIZE,0,generate_comparison);