pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.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: interpret.c,v 1.187 2001/03/03 00:26:23 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.188 2001/03/04 19:27:18 mirar Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:956:    case APPLY_SVALUE:    apply_svalue:    {    struct svalue *s=(struct svalue *)arg1;    switch(s->type)    {    case T_INT:    if (!s->u.integer) {    PIKE_ERROR("0", "Attempt to call the NULL-value\n", Pike_sp, args);    } else { -  Pike_error("Attempt to call the value %d\n", s->u.integer); +  Pike_error("Attempt to call the value %"PRINTPIKEINT"d\n", +  s->u.integer);    }       case T_STRING:    if (s->u.string->len > 20) {    Pike_error("Attempt to call the string \"%20s\"...\n", s->u.string->str);    } else {    Pike_error("Attempt to call the string \"%s\"\n", s->u.string->str);    }    case T_MAPPING:    Pike_error("Attempt to call a mapping\n");