diff options
| -rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lvm.c,v 1.267 2002/11/21 15:46:44 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.268 2002/11/21 17:19:42 roberto Exp roberto $ |
| 3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -64,8 +64,8 @@ static void traceexec (lua_State *L) { | |||
| 64 | lu_byte mask = L->hookmask; | 64 | lu_byte mask = L->hookmask; |
| 65 | if (mask > LUA_MASKLINE) { /* instruction-hook set? */ | 65 | if (mask > LUA_MASKLINE) { /* instruction-hook set? */ |
| 66 | if (L->hookcount == 0) { | 66 | if (L->hookcount == 0) { |
| 67 | luaD_callhook(L, LUA_HOOKCOUNT, -1); | ||
| 68 | resethookcount(L); | 67 | resethookcount(L); |
| 68 | luaD_callhook(L, LUA_HOOKCOUNT, -1); | ||
| 69 | return; | 69 | return; |
| 70 | } | 70 | } |
| 71 | } | 71 | } |
