pike.git / src / operators.c

version» Context lines:

pike.git/src/operators.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h"   #include <math.h> - RCSID("$Id: operators.c,v 1.137 2001/05/19 21:37:32 grubba Exp $"); + RCSID("$Id: operators.c,v 1.138 2001/06/11 21:18:20 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "multiset.h"   #include "mapping.h"   #include "array.h"   #include "stralloc.h"   #include "opcodes.h"   #include "operators.h"   #include "language.h"   #include "pike_memory.h"
pike.git/src/operators.c:1182:    {    struct mapping *m;       m=merge_mapping_array_ordered(sp[-2].u.mapping,    sp[-1].u.multiset->ind,    PIKE_ARRAY_OP_AND);    pop_n_elems(2);    push_mapping(m);    return;    } +  default: +  { +  int args = 2; +  SIMPLE_BAD_ARG_ERROR("`&", 2, "mapping");    } -  +  }    else    {    int args = 2;    SIMPLE_BAD_ARG_ERROR("`&", 2, get_name_of_type(sp[-2].type));    }    }       switch(sp[-2].type)    {    case T_OBJECT: