summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2005-02-12 22:57:53 +0000
committerpixel <pixel>2005-02-12 22:57:53 +0000
commit2c6c7737c2bd5eb9cc2167fef5aee5f44f626212 (patch)
tree830a8e0dc4790b3c2c45aefbbe5cfcbee07b465d /lib
parent4c27dab1522f025f39f0ce0ab49830f0b544e34a (diff)
Better update of breaks
Diffstat (limited to 'lib')
-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' */