diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-06-19 11:14:02 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-06-19 11:14:02 -0300 |
commit | 9a9ee3d9ab8ce435d743d293ec43075151370200 (patch) | |
tree | 445290bfa04c2cd30f514b65b90b1d8b973f21f1 /lpcap.h | |
parent | a561630f17e61548193666abf9a8b20f20462558 (diff) | |
download | lpeg-9a9ee3d9ab8ce435d743d293ec43075151370200.tar.gz lpeg-9a9ee3d9ab8ce435d743d293ec43075151370200.tar.bz2 lpeg-9a9ee3d9ab8ce435d743d293ec43075151370200.zip |
Some fixes in vibibility check for back captures
Diffstat (limited to 'lpcap.h')
-rw-r--r-- | lpcap.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -70,6 +70,12 @@ typedef struct CapState { | |||
70 | : (c2)->index < (c1)->index + (c1)->siz - 1) | 70 | : (c2)->index < (c1)->index + (c1)->siz - 1) |
71 | 71 | ||
72 | 72 | ||
73 | /** | ||
74 | ** Maximum number of captures to visit when looking for an 'open'. | ||
75 | */ | ||
76 | #define MAXLOP 20 | ||
77 | |||
78 | |||
73 | 79 | ||
74 | int runtimecap (CapState *cs, Capture *close, const char *s, int *rem); | 80 | int runtimecap (CapState *cs, Capture *close, const char *s, int *rem); |
75 | int getcaptures (lua_State *L, const char *s, const char *r, int ptop); | 81 | int getcaptures (lua_State *L, const char *s, const char *r, int ptop); |