diff options
Diffstat (limited to 'src/regint.h')
-rw-r--r-- | src/regint.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regint.h b/src/regint.h index 7a3283d..9835143 100644 --- a/src/regint.h +++ b/src/regint.h @@ -71,6 +71,7 @@ #define INIT_MATCH_STACK_SIZE 160 #define DEFAULT_MATCH_STACK_LIMIT_SIZE 0 /* unlimited */ +#define DEFAULT_PARSE_DEPTH_LIMIT 4096 #if defined(__GNUC__) # define ARG_UNUSED __attribute__ ((unused)) @@ -522,7 +523,7 @@ typedef int RelAddrType; typedef int AbsAddrType; typedef int LengthType; typedef int RepeatNumType; -typedef short int MemNumType; +typedef int MemNumType; typedef short int StateCheckNumType; typedef void* PointerType; @@ -747,7 +748,7 @@ extern void onig_print_compiled_byte_code P_((FILE* f, UChar* bp, UChar** nextp, #ifdef ONIG_DEBUG_STATISTICS extern void onig_statistics_init P_((void)); -extern void onig_print_statistics P_((FILE* f)); +extern int onig_print_statistics P_((FILE* f)); #endif #endif |