pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:19:   #include "operators.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"   #include "bignum.h"   #include "pikecode.h"    - RCSID("$Id: encode.c,v 1.147 2002/05/31 22:41:23 nilsson Exp $"); + RCSID("$Id: encode.c,v 1.148 2002/06/11 17:41:36 mast Exp $");      /* #define ENCODE_DEBUG */      /* Use the old encoding method for programs. */   #define OLD_PIKE_ENCODE_PROGRAM      #ifdef ENCODE_DEBUG   /* Pass a nonzero integer as the third arg to encode_value,    * encode_value_canonic and decode_value to activate this debug. */   #define EDB(N,X) do { debug_malloc_touch(data); if (data->debug>=N) {X;} } while (0)
pike.git/src/encode.c:3510:    fprintf(stderr,    "%*sdefining constant(\"%s\", X, 0x%04x)\n",    data->depth, "",    Pike_sp[-2].u.string->str, id_flags));       /* Alters    *    * identifiers, identifier_references    */    -  if (n < 0 || (n = override_identifier (&ref, id.name, 0)) < 0) { +  if (n < 0 || (n = override_identifier (&ref, id.name)) < 0) {    n = p->num_identifier_references;    add_to_identifier_references(ref);    }       if (no != n) {    if (id.name->size_shift)    Pike_error("Bad constant identifier offset: %d\n", no);    else    Pike_error("Bad constant identifier offset %d for %s\n",    no, id.name->str);