pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:1:   /*   || 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.248 2008/01/17 22:39:33 grubba Exp $ + || $Id: encode.c,v 1.249 2008/01/19 17:06:50 grubba Exp $   */      #include "global.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "mapping.h"
pike.git/src/encode.c:2443:    case 2:    EMIT_BYTECODE(STR2, EMIT_BYTECODE2);    break;   #undef SIGNED_CHAR   #define SIGNED_CHAR(X) 0    case 1:    EMIT_BYTECODE(STR1, EMIT_BYTECODE2);    break;    case 0:   #undef EMIT_BYTECODE2 - #define EMIT_BYTECODE2(X) + #define EMIT_BYTECODE2(X) \ +  if (!current_file) { \ +  Pike_error("Missing filename directive in " \ +  "byte code.\n"); \ +  } else if (!current_line) { \ +  Pike_error("Missing line directive in " \ +  "byte code.\n"); \ +  } else +     EMIT_BYTECODE(STR0, EMIT_BYTECODE2);    break;   #undef SIGNED_CHAR   #undef EMIT_BYTECODE   #undef EMIT_BYTECODE2    default:    Pike_fatal("Bad size_shift: %d\n", bytecode->size_shift);    }    UNSET_ONERROR(err);    return assemble(1);