commit 4cd06ff66ca157d8450526963a004ebb5fd3cae0
parent 6eaa52d3f7d3835b5cf4c04c1994d6a8cc4ef610
Author: Igor Burago <igor@igorburago.com>
Date: Fri, 14 Oct 2022 20:28:35 +0800
libregexp: allow up to 128 character classes in one regexp
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 */
};