From 9a9ee3d9ab8ce435d743d293ec43075151370200 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 19 Jun 2023 11:14:02 -0300 Subject: Some fixes in vibibility check for back captures --- lpcap.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lpcap.h') diff --git a/lpcap.h b/lpcap.h index 30f3714..abbd553 100644 --- a/lpcap.h +++ b/lpcap.h @@ -70,6 +70,12 @@ typedef struct CapState { : (c2)->index < (c1)->index + (c1)->siz - 1) +/** +** Maximum number of captures to visit when looking for an 'open'. +*/ +#define MAXLOP 20 + + int runtimecap (CapState *cs, Capture *close, const char *s, int *rem); int getcaptures (lua_State *L, const char *s, const char *r, int ptop); -- cgit v1.2.3-55-g6feb