Branch: Tag:

2004-09-06

2004-09-06 11:43:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved diagnostics.

Rev: src/array.c:1.138
Rev: src/encode.c:1.187

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: encode.c,v 1.186 2004/05/19 09:19:34 grubba Exp $ + || $Id: encode.c,v 1.187 2004/09/06 11:43:44 grubba Exp $   */      #include "global.h"
32:   #include "opcodes.h"   #include "peep.h"    - RCSID("$Id: encode.c,v 1.186 2004/05/19 09:19:34 grubba Exp $"); + RCSID("$Id: encode.c,v 1.187 2004/09/06 11:43:44 grubba Exp $");      /* #define ENCODE_DEBUG */   
1585: Inside #if defined(PIKE_PORTABLE_BYTECODE)
   continue;    }   #endif /* PIKE_PORTABLE_BYTECODE */ +  +  EDB(4, fprintf(stderr, "Encoding constant #%d.\n", d));    /* value */    encode_value2(&p->constants[d].sval, data, 0);   
4077:    /* Already initialized. */    continue;    } +  +  EDB(4, fprintf(stderr, "Decoding constant #%d.\n", e)); +     /* value */    decode_value2(data);    /* name */