diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.73 2009/09/28 16:32:50 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.74 2009/09/30 20:49:25 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 | */ |
@@ -971,6 +971,10 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) { | |||
971 | else if EQ("replace") { | 971 | else if EQ("replace") { |
972 | lua_replace(L1, getindex); | 972 | lua_replace(L1, getindex); |
973 | } | 973 | } |
974 | else if EQ("copy") { | ||
975 | int f = getindex; | ||
976 | lua_copy(L1, f, getindex); | ||
977 | } | ||
974 | else if EQ("gettable") { | 978 | else if EQ("gettable") { |
975 | lua_gettable(L1, getindex); | 979 | lua_gettable(L1, getindex); |
976 | } | 980 | } |