pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.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" - RCSID("$Id: mapping.c,v 1.21 1997/08/30 18:35:42 grubba Exp $"); + RCSID("$Id: mapping.c,v 1.22 1997/09/08 21:51:04 grubba Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "language.h"   #include "error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"
pike.git/src/mapping.c:781:    s.u.mapping=m;    return mkconstantsvaluenode(&s);    }   }      void f_m_delete(INT32 args)   {    if(args < 2)    error("Too few arguments to m_delete.\n");    if(sp[-args].type != T_MAPPING) -  error("Bad argument to to m_delete.\n"); +  error("Bad argument 1 to m_delete.\n");       map_delete(sp[-args].u.mapping,sp+1-args);    pop_n_elems(args-1);   }      void f_aggregate_mapping(INT32 args)   {    INT32 e;    struct keypair *k;    struct mapping *m;