From 4cd06ff66ca157d8450526963a004ebb5fd3cae0 Mon Sep 17 00:00:00 2001 From: Igor Burago Date: Fri, 14 Oct 2022 20:28:35 +0800 Subject: [PATCH] libregexp: allow up to 128 character classes in one regexp --- include/regexp9.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/regexp9.h b/include/regexp9.h index 20c0c3da..b93e7b8d 100644 --- a/include/regexp9.h +++ b/include/regexp9.h @@ -1,7 +1,7 @@ #ifndef _REGEXP9_H_ #define _REGEXP9_H_ 1 #if defined(__cplusplus) -extern "C" { +extern "C" { #endif #ifdef AUTOLIB @@ -61,7 +61,7 @@ struct Reinst{ */ struct Reprog{ Reinst *startinst; /* start pc */ - Reclass class[16]; /* .data */ + Reclass class[128]; /* .data */ Reinst firstinst[5]; /* .text */ };