Branch: Tag:

2001-07-20

2001-07-20 04:02:30 by Martin Stjernholm <mast@lysator.liu.se>

Improved an error message.

Rev: src/opcodes.c:1.114

27:   #include "bignum.h"   #include "operators.h"    - RCSID("$Id: opcodes.c,v 1.113 2001/07/13 11:26:40 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.114 2001/07/20 04:02:30 mast Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
50: Inside #if defined(AUTO_BIGNUM)
   index_no_free(to, what, ind);    if(IS_UNDEFINED(to)) {    if (val) { +  if (ind->type == T_STRING)    Pike_error("Indexing the integer %"PRINTPIKEINT"d " -  +  "with unknown method \"%s\".\n", val, ind->u.string->str); +  else +  Pike_error("Indexing the integer %"PRINTPIKEINT"d "    "with an unknown method.\n", val);    } else {    if(ind->type == T_STRING)