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.247 2008/01/16 19:55:25 grubba Exp $ + || $Id: encode.c,v 1.248 2008/01/17 22:39:33 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:2412:    INT32 strno = STR(bytecode)[e+1]; \    if (SIGNED_CHAR(strno < 0) || \    (strno >= p->num_strings)) { \    Pike_error("Bad filename directive number:" \    " %d (expected 0 - %d).\n", \    strno, p->num_strings); \    } \    current_file = p->strings[strno]; \    } else if (STR(bytecode)[e] == F_LINE) { \    current_line = STR(bytecode)[e+1]; \ +  } else 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      #define EMIT_BYTECODE(STR, X) do { \    for (e = 0; e < bytecode->len; e += 3) { \    X(STR) \    { \    insert_opcode2(STR(bytecode)[e], \    STR(bytecode)[e+1], \    STR(bytecode)[e+2], \    current_line, \