diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-21 14:05:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-21 14:05:49 -0300 |
commit | f51775950737eb4d097cda0bba143973b5385947 (patch) | |
tree | 35b85b279cafa961591353a236b9da1c7d5a4920 /ltests.c | |
parent | 52062684e11beffafbbbff0a8c7aa2642e40e47e (diff) | |
download | lua-f51775950737eb4d097cda0bba143973b5385947.tar.gz lua-f51775950737eb4d097cda0bba143973b5385947.tar.bz2 lua-f51775950737eb4d097cda0bba143973b5385947.zip |
details
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 1.24 2000/06/08 17:48:31 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.25 2000/06/12 13:52:05 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -50,7 +50,7 @@ static void setnameval (lua_Object t, const char *name, int val) { | |||
50 | */ | 50 | */ |
51 | 51 | ||
52 | 52 | ||
53 | static const char *const instrname[OP_SETLINE+1] = { | 53 | static const char *const instrname[NUM_OPCODES] = { |
54 | "END", "RETURN", "CALL", "TAILCALL", "PUSHNIL", "POP", "PUSHINT", | 54 | "END", "RETURN", "CALL", "TAILCALL", "PUSHNIL", "POP", "PUSHINT", |
55 | "PUSHSTRING", "PUSHNUM", "PUSHNEGNUM", "PUSHUPVALUE", "GETLOCAL", | 55 | "PUSHSTRING", "PUSHNUM", "PUSHNEGNUM", "PUSHUPVALUE", "GETLOCAL", |
56 | "GETGLOBAL", "GETTABLE", "GETDOTTED", "GETINDEXED", "PUSHSELF", | 56 | "GETGLOBAL", "GETTABLE", "GETDOTTED", "GETINDEXED", "PUSHSELF", |