diff options
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 1.15 1998/03/11 13:59:50 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.16 1998/06/18 16:57:03 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -158,8 +158,6 @@ void luaT_settagmethod (int t, char *event, TObject *func) | |||
158 | char *luaT_travtagmethods (int (*fn)(TObject *)) | 158 | char *luaT_travtagmethods (int (*fn)(TObject *)) |
159 | { | 159 | { |
160 | int e; | 160 | int e; |
161 | if (fn(&L->errorim)) | ||
162 | return "error"; | ||
163 | for (e=IM_GETTABLE; e<=IM_FUNCTION; e++) { /* ORDER IM */ | 161 | for (e=IM_GETTABLE; e<=IM_FUNCTION; e++) { /* ORDER IM */ |
164 | int t; | 162 | int t; |
165 | for (t=0; t>=L->last_tag; t--) | 163 | for (t=0; t>=L->last_tag; t--) |