This commit is contained in:
Roberto Ierusalimschy
2003-05-14 18:09:53 -03:00
parent dae99205cf
commit 9ec9a012e7
2 changed files with 4 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/* /*
** $Id: lopcodes.c,v 1.23 2003/05/13 20:15:59 roberto Exp roberto $ ** $Id: lopcodes.c,v 1.24 2003/05/14 12:09:12 roberto Exp roberto $
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@@ -16,7 +16,7 @@
#ifdef LUA_OPNAMES #ifdef LUA_OPNAMES
const char *const luaP_opnames[] = { const char *const luaP_opnames[NUM_OPCODES] = {
"MOVE", "MOVE",
"LOADK", "LOADK",
"LOADBOOL", "LOADBOOL",

View File

@@ -1,5 +1,5 @@
/* /*
** $Id: lopcodes.h,v 1.103 2003/05/13 20:15:59 roberto Exp roberto $ ** $Id: lopcodes.h,v 1.104 2003/05/14 12:09:12 roberto Exp roberto $
** Opcodes for Lua virtual machine ** Opcodes for Lua virtual machine
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@@ -230,10 +230,7 @@ extern const lu_byte luaP_opmodes[NUM_OPCODES];
#define testTMode(m) (luaP_opmodes[m] & (1 << 7)) #define testTMode(m) (luaP_opmodes[m] & (1 << 7))
#ifdef LUA_OPNAMES extern const char *const luaP_opnames[NUM_OPCODES]; /* opcode names */
extern const char *const luaP_opnames[]; /* opcode names */
#endif
/* number of list items to accumulate before a SETLIST instruction */ /* number of list items to accumulate before a SETLIST instruction */