aboutsummaryrefslogtreecommitdiff
path: root/lpvm.c
diff options
context:
space:
mode:
authorSérgio Queiroz <sqmedeiros@gmail.com>2017-12-18 15:39:00 -0300
committerSérgio Queiroz <sqmedeiros@gmail.com>2017-12-18 15:39:00 -0300
commitc6b98103f0ab2c4afb7216e73f2eacac58cbf952 (patch)
treea98bef21fff8702c66deac2315a6a10d7d1c26df /lpvm.c
parent4bdf8d40a9ca5f00e454a38d301a3ab35c9b50d5 (diff)
downloadlpeglabel-c6b98103f0ab2c4afb7216e73f2eacac58cbf952.tar.gz
lpeglabel-c6b98103f0ab2c4afb7216e73f2eacac58cbf952.tar.bz2
lpeglabel-c6b98103f0ab2c4afb7216e73f2eacac58cbf952.zip
Updating code to use the new syntax/semantics of labels
Diffstat (limited to 'lpvm.c')
-rw-r--r--lpvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lpvm.c b/lpvm.c
index 251fa0a..20bc545 100644
--- a/lpvm.c
+++ b/lpvm.c
@@ -301,6 +301,7 @@ const char *match (lua_State *L, const char *o, const char *s, const char *e,
301 luaL_error(L, "labelf is %d", *labelf); 301 luaL_error(L, "labelf is %d", *labelf);
302 *sfail = s; 302 *sfail = s;
303 stack = getstackbase(L, ptop); 303 stack = getstackbase(L, ptop);
304 stack++;
304 goto fail; 305 goto fail;
305 } 306 }
306 case IThrowRec: { /* labeled failure */ 307 case IThrowRec: { /* labeled failure */