Browse Source

fix wrong count in head comment

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@567 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 13 years ago
parent
commit
ff36da1899
  1. 2
      const_string_opcodes_php4.x.h
  2. 2
      const_string_opcodes_php5.1.h
  3. 2
      const_string_opcodes_php6.x.h
  4. 2
      mkopcode.awk

2
const_string_opcodes_php4.x.h

@ -1,4 +1,4 @@
/* size = 112 */
/* size = 113 */
static const char *const xc_opcode_names[] = {
/* 0 */ "NOP",
/* 1 */ "ADD",

2
const_string_opcodes_php5.1.h

@ -1,4 +1,4 @@
/* size = 153 */
/* size = 154 */
static const char *const xc_opcode_names[] = {
/* 0 */ "NOP",
/* 1 */ "ADD",

2
const_string_opcodes_php6.x.h

@ -1,4 +1,4 @@
/* size = 153 */
/* size = 154 */
static const char *const xc_opcode_names[] = {
/* 0 */ "NOP",
/* 1 */ "ADD",

2
mkopcode.awk

@ -53,7 +53,7 @@ END {
opcodes[111] = "ZEND_INIT_FCALL_BY_FUNC";
opcodes[112] = "UNDEF";
}
printf "/* size = %d */\n", max;
printf "/* size = %d */\n", max + 1;
print "static const char *const xc_opcode_names[] = {";
for (i = 0; i <= max; i ++) {
if (i != 0) {

Loading…
Cancel
Save