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.13 1997/02/17 20:47:13 hubbe Exp $"); + RCSID("$Id: mapping.c,v 1.14 1997/03/11 23:32:28 grubba Exp $");   #include "main.h"   #include "types.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "macros.h"   #include "language.h"   #include "error.h"   #include "memory.h"
pike.git/src/mapping.c:788:    pop_n_elems(args-1);   }      void f_aggregate_mapping(INT32 args)   {    INT32 e;    struct keypair *k;    struct mapping *m;       if(args & 1) -  error("Uneven number of arguments to aggregage_mapping.\n"); +  error("Uneven number of arguments to aggregate_mapping.\n");       m=allocate_mapping(MAP_SLOTS(args / 2));       for(e=-args;e<0;e+=2) mapping_insert(m, sp+e, sp+e+1);    pop_n_elems(args);    push_mapping(m);   }      struct mapping *copy_mapping_recursively(struct mapping *m,    struct processing *p)