Branch: Tag:

2003-10-15

2003-10-15 16:23:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved diagnostics in array_fix_type_field().

Rev: src/array.c:1.150

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: array.c,v 1.149 2003/09/08 20:05:20 mast Exp $ + || $Id: array.c,v 1.150 2003/10/15 16:23:13 grubba Exp $   */      #include "global.h"
26:   #include "cyclic.h"   #include "multiset.h"    - RCSID("$Id: array.c,v 1.149 2003/09/08 20:05:20 mast Exp $"); + RCSID("$Id: array.c,v 1.150 2003/10/15 16:23:13 grubba Exp $");      PMOD_EXPORT struct array empty_array=   {
1217: Inside #if defined(PIKE_DEBUG)
   if(t & ~(v->type_field))    {    describe(v); -  Pike_fatal("Type field out of order!\n"); +  Pike_fatal("Type field out of order (old:0x%04x new:0x%04x)!\n", +  v->type_field, t);    }   #endif    v->type_field = t;