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.230 2008/04/14 10:14:40 grubba Exp $ + || $Id: operators.c,v 1.231 2008/05/03 15:29:24 nilsson 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:439:    }    break;    case 2:    {    p_wchar2 *str2 = STR2(s);    for(i = a->size; i--; ) {    str2[i] = a->item[i].u.integer;    }    }    break; + #ifdef PIKE_DEBUG    default:    free_string(end_shared_string(s));    Pike_fatal("cast: Bad shift: %d.\n", shift);    break; -  + #endif    }    s = end_shared_string(s);    pop_stack();    push_string(s);    }    return;       case T_FLOAT:    sprintf(buf, "%f", (double)sp[-1].u.float_number);    break;