pike.git/
src/
encode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2004-05-12
2004-05-12 08:13:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>
25c862380ccf9cb8740f814e6ae56d5ff76ce692 (
11
lines) (+
7
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Improved diagnostics.
Rev: src/encode.c:1.213
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.
212
2004/05/
11
19
:
49
:
35
grubba Exp $
+
|| $Id: encode.c,v 1.
213
2004/05/
12
08
:
13
:
30
grubba Exp $
*/ #include "global.h"
31:
#include "opcodes.h" #include "peep.h"
-
RCSID("$Id: encode.c,v 1.
212
2004/05/
11
19
:
49
:
35
grubba Exp $");
+
RCSID("$Id: encode.c,v 1.
213
2004/05/
12
08
:
13
:
30
grubba Exp $");
/* #define ENCODE_DEBUG */
4019:
if (PIKE_CONCAT(local_num_, NAME) != p->PIKE_CONCAT(num_,NAME)) { \ ref_push_program (p); \ decode_error(Pike_sp - 1, NULL, \
-
"Value mismatch for num_" TOSTR(NAME) ": %d != %
d\n
", \
+
"Value mismatch for num_" TOSTR(NAME) ":
" \
+
"
%d != %
d (bytecode method: %d)\n
",
\
PIKE_CONCAT(local_num_, NAME), \
-
p->PIKE_CONCAT(num_, NAME)); \
+
p->PIKE_CONCAT(num_, NAME)
, \
+
bytecode_method
);
\
} #include "program_areas.h"