summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/lua/src/lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lua/src/lvm.c b/lib/lua/src/lvm.c
index b2070bb..7334edc 100644
--- a/lib/lua/src/lvm.c
+++ b/lib/lua/src/lvm.c
@@ -1,5 +1,5 @@
/*
-** $Id: lvm.c,v 1.7 2005-01-02 05:06:11 pixel Exp $
+** $Id: lvm.c,v 1.8 2005-02-12 22:57:53 pixel Exp $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -424,8 +424,8 @@ StkId luaV_execute (lua_State *L) {
return NULL;
}
if (L->ci->state & CI_BREAK) { /* did hook break? */
- luaG_runerror(L, "breaking");
L->ci->state &= ~CI_BREAK;
+ luaG_runerror(L, "breaking");
}
}
/* warning!! several calls may realloc the stack and invalidate `ra' */