aboutsummaryrefslogtreecommitdiff
path: root/lpvm.c
diff options
context:
space:
mode:
authorSergio Queiroz <sqmedeiros@gmail.com>2016-11-10 16:26:11 -0300
committerSergio Queiroz <sqmedeiros@gmail.com>2016-11-10 16:26:11 -0300
commitfd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea (patch)
tree875ab38000e52376583bc13741b18701c6294f80 /lpvm.c
parentd84dd6b3659f94b09e67eb90a10e71eb05c5630e (diff)
downloadlpeglabel-fd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea.tar.gz
lpeglabel-fd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea.tar.bz2
lpeglabel-fd28f9d9e54f33bf7ae3a5e12dc71478f9c91aea.zip
Removing labeled choice, updating testlabel, and disabling an optmization related to Throw
Diffstat (limited to 'lpvm.c')
-rw-r--r--lpvm.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/lpvm.c b/lpvm.c
index b200dce..122c8f4 100644
--- a/lpvm.c
+++ b/lpvm.c
@@ -274,17 +274,6 @@ const char *match (lua_State *L, const char *o, const char *s, const char *e,
274 p += 2; 274 p += 2;
275 continue; 275 continue;
276 } 276 }
277 case ILabChoice: { /* labeled failure */
278 if (stack == stacklimit)
279 stack = doublestack(L, &stacklimit, ptop);
280 stack->p = p + getoffset(p);
281 stack->s = s;
282 stack->ls = (const Labelset *) ((p + 2)->buff);
283 stack->caplevel = captop;
284 stack++;
285 p += (CHARSETINSTSIZE - 1) + 2;
286 continue;
287 }
288 case IRecov: { /* labeled failure */ 277 case IRecov: { /* labeled failure */
289 if (stack == stacklimit) 278 if (stack == stacklimit)
290 stack = doublestack(L, &stacklimit, ptop); 279 stack = doublestack(L, &stacklimit, ptop);