pike.git / src / operators.c

version» Context lines:

pike.git/src/operators.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: operators.c,v 1.206 2005/09/15 15:38:57 grubba Exp $ + || $Id: operators.c,v 1.207 2006/03/25 12:45:51 grubba Exp $   */      #include "global.h"   #include <math.h>   #include "interpret.h"   #include "svalue.h"   #include "multiset.h"   #include "mapping.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/operators.c:1858:    emit0(F_NE);    else if(CAR(n)->u.sval.u.efun->function == f_lt)    emit0(F_LT);    else if(CAR(n)->u.sval.u.efun->function == f_le)    emit0(F_LE);    else if(CAR(n)->u.sval.u.efun->function == f_gt)    emit0(F_GT);    else if(CAR(n)->u.sval.u.efun->function == f_ge)    emit0(F_GE);    else -  Pike_fatal("Couldn't generate comparison!\n"); +  Pike_fatal("Couldn't generate comparison!\n" +  "efun->function: %p\n" +  "f_eq: %p\n" +  "f_ne: %p\n" +  "f_lt: %p\n" +  "f_le: %p\n" +  "f_gt: %p\n" +  "f_ge: %p\n", +  CAR(n)->u.sval.u.efun->function, +  f_eq, f_ne, f_lt, f_le, f_gt, f_ge);    return 1;    }    return 0;   }      static int float_promote(void)   {    if(sp[-2].type==T_INT && sp[-1].type==T_FLOAT)    {    sp[-2].u.float_number=(FLOAT_TYPE)sp[-2].u.integer;