From f42b61800a1a1b360c5ac915ec1caf34bf1fb86b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 9 Apr 2017 19:36:01 +0200 Subject: New upstream version 6.2.0 --- src/regint.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/regint.h') 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 -- cgit v1.2.3