aboutsummaryrefslogtreecommitdiff
path: root/lpvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lpvm.c')
-rw-r--r--lpvm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lpvm.c b/lpvm.c
index d2b1f55..61d609a 100644
--- a/lpvm.c
+++ b/lpvm.c
@@ -331,7 +331,11 @@ const char *match (lua_State *L, const char *o, const char *s, const char *e,
331 continue; 331 continue;
332 } 332 }
333 case IThrow: { /* labeled failure */ 333 case IThrow: { /* labeled failure */
334 *labelf = p->i.aux; 334 printf("IThrow here: key=%d aux = %d top = %d\n", p->i.key, p->i.aux, lua_gettop(L));
335 lua_rawgeti(L, ktableidx(ptop), p->i.key);
336 printf("IThrow there %s top = %d\n", lua_tostring(L, -1), lua_gettop(L));
337 lua_pop(L, 1);
338 *labelf = p->i.key;
335 pk = p + 1; 339 pk = p + 1;
336 *sfail = s; 340 *sfail = s;
337 goto fail; 341 goto fail;