libregexp: allow up to 128 character classes in one regexp

This commit is contained in:
Igor Burago 2022-10-14 20:28:35 +08:00 committed by Dan Cross
parent 6eaa52d3f7
commit 4cd06ff66c

View file

@ -1,7 +1,7 @@
#ifndef _REGEXP9_H_ #ifndef _REGEXP9_H_
#define _REGEXP9_H_ 1 #define _REGEXP9_H_ 1
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
#ifdef AUTOLIB #ifdef AUTOLIB
@ -61,7 +61,7 @@ struct Reinst{
*/ */
struct Reprog{ struct Reprog{
Reinst *startinst; /* start pc */ Reinst *startinst; /* start pc */
Reclass class[16]; /* .data */ Reclass class[128]; /* .data */
Reinst firstinst[5]; /* .text */ Reinst firstinst[5]; /* .text */
}; };