diff options
Diffstat (limited to 'lopcodes.c')
-rw-r--r-- | lopcodes.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.c,v 1.28 2004/07/16 13:15:32 roberto Exp $ | 2 | ** $Id: lopcodes.c,v 1.29 2004/10/04 19:01:53 roberto Exp roberto $ |
3 | ** See Copyright Notice in lua.h | 3 | ** See Copyright Notice in lua.h |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | /* ORDER OP */ | 16 | /* ORDER OP */ |
17 | 17 | ||
18 | const char *const luaP_opnames[NUM_OPCODES] = { | 18 | const char *const luaP_opnames[NUM_OPCODES+1] = { |
19 | "MOVE", | 19 | "MOVE", |
20 | "LOADK", | 20 | "LOADK", |
21 | "LOADBOOL", | 21 | "LOADBOOL", |
@@ -51,7 +51,8 @@ const char *const luaP_opnames[NUM_OPCODES] = { | |||
51 | "SETLIST", | 51 | "SETLIST", |
52 | "CLOSE", | 52 | "CLOSE", |
53 | "CLOSURE", | 53 | "CLOSURE", |
54 | "VARARG" | 54 | "VARARG", |
55 | NULL | ||
55 | }; | 56 | }; |
56 | 57 | ||
57 | 58 | ||