Branch: Tag:

2003-05-15

2003-05-15 15:33:31 by Martin Stjernholm <mast@lysator.liu.se>

Improved some range check error messages.

Rev: src/array.c:1.147
Rev: src/builtin.cmod:1.136
Rev: src/builtin_functions.c:1.493
Rev: src/error.c:1.108
Rev: src/fd_control.c:1.48
Rev: src/opcodes.c:1.147
Rev: src/operators.c:1.179
Rev: src/stralloc.c:1.156

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin_functions.c,v 1.492 2003/05/07 12:31:52 mast Exp $ + || $Id: builtin_functions.c,v 1.493 2003/05/15 15:33:30 mast Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.492 2003/05/07 12:31:52 mast Exp $"); + RCSID("$Id: builtin_functions.c,v 1.493 2003/05/15 15:33:30 mast Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
1261:    }    if (str2[i] > 0x10ffff) {    Pike_error("string_to_unicode(): Character 0x%08x (index %ld) " -  "is out of range (0x00000000 - 0x0010ffff).", +  "is out of range (0x00000000..0x0010ffff).",    str2[i], PTRDIFF_T_TO_LONG(i));    }    /* Extra wide characters take two unicode characters in space.
6312:    *!    *! @note    *! Elements are compared with @[`==]. They are also hashed (see -  *! @[lfun::__hash] for further details if @[a] contains objects). +  *! @[lfun::__hash] for further details if the array contains +  *! objects).    */   PMOD_EXPORT void f_uniq_array(INT32 args)   {