diff options
-rw-r--r-- | lpvm.c | 4 | ||||
-rw-r--r-- | relabel.lua | 2 |
2 files changed, 3 insertions, 3 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 | } |
diff --git a/relabel.lua b/relabel.lua index ff2e486..0e7195e 100644 --- a/relabel.lua +++ b/relabel.lua | |||
@@ -6,7 +6,7 @@ local pcall = pcall | |||
6 | local setmetatable = setmetatable | 6 | local setmetatable = setmetatable |
7 | local unpack, tinsert, concat = table.unpack or unpack, table.insert, table.concat | 7 | local unpack, tinsert, concat = table.unpack or unpack, table.insert, table.concat |
8 | local rep = string.rep | 8 | local rep = string.rep |
9 | local m = require"lpeglabel" | 9 | local m = require"lpeglabelrec" |
10 | 10 | ||
11 | -- 'm' will be used to parse expressions, and 'mm' will be used to | 11 | -- 'm' will be used to parse expressions, and 'mm' will be used to |
12 | -- create expressions; that is, 're' runs on 'm', creating patterns | 12 | -- create expressions; that is, 're' runs on 'm', creating patterns |