aboutsummaryrefslogtreecommitdiff
path: root/text-regex.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-01-31 23:33:28 -0800
committerMarc André Tanner <mat@brain-dump.org>2020-04-27 10:45:42 +0200
commitdf147e98df6210511b3569d51e02b021ef34063b (patch)
tree989c6f6ed31477914bca514dd2e06c5dd22f84e6 /text-regex.h
parent348cf46dcbca5fecb342b59144a3ef6b36c3c857 (diff)
downloadvis-df147e98df6210511b3569d51e02b021ef34063b.tar.gz
vis-df147e98df6210511b3569d51e02b021ef34063b.tar.xz
Avoid use of VLAs
Diffstat (limited to 'text-regex.h')
-rw-r--r--text-regex.h2
1 files changed, 2 insertions, 0 deletions
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;