diff options
author | Sergio Queiroz <sqmedeiros@gmail.com> | 2016-09-21 10:07:34 -0300 |
---|---|---|
committer | Sergio Queiroz <sqmedeiros@gmail.com> | 2016-09-21 10:07:34 -0300 |
commit | beb03a70df23225b5db7d86f2ea799e33d7dd252 (patch) | |
tree | 9a875091161486471dc3c87126a2ba7cc6973a63 /lpvm.c | |
parent | a9c5a38994074d2c9c5da4cf081c4ca9fa8b3271 (diff) | |
download | lpeglabel-beb03a70df23225b5db7d86f2ea799e33d7dd252.tar.gz lpeglabel-beb03a70df23225b5db7d86f2ea799e33d7dd252.tar.bz2 lpeglabel-beb03a70df23225b5db7d86f2ea799e33d7dd252.zip |
Fixing a bug in lpvm.c (now the tests passed)
Diffstat (limited to 'lpvm.c')
-rw-r--r-- | lpvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -360,8 +360,8 @@ const char *match (lua_State *L, const char *o, const char *s, const char *e, | |||
360 | stack++; | 360 | stack++; |
361 | } | 361 | } |
362 | if (ndyncap > 0) /* is there matchtime captures? */ | 362 | if (ndyncap > 0) /* is there matchtime captures? */ |
363 | ndyncap -= removedyncap(L, capture, stack->caplevel, captop); | 363 | ndyncap -= removedyncap(L, capture, pstack->caplevel, captop); |
364 | captop = stack->caplevel; | 364 | captop = pstack->caplevel; |
365 | p = pstack->p; | 365 | p = pstack->p; |
366 | continue; | 366 | continue; |
367 | } | 367 | } |