From df147e98df6210511b3569d51e02b021ef34063b Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 31 Jan 2020 23:33:28 -0800 Subject: Avoid use of VLAs --- text-regex.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'text-regex.h') diff --git a/text-regex.h b/text-regex.h index 45054c8..dd87c1c 100644 --- a/text-regex.h +++ b/text-regex.h @@ -9,6 +9,8 @@ #endif #include "text.h" +#define MAX_REGEX_SUB 10 + typedef struct Regex Regex; typedef Filerange RegexMatch; -- cgit v1.2.3