diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-09 19:36:01 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-09 19:36:01 +0200 |
commit | f42b61800a1a1b360c5ac915ec1caf34bf1fb86b (patch) | |
tree | 89be88e0c37aeaa53e55de643586f9d5d4a3d5d2 /src/regint.h | |
parent | cce716909e5236f1aa2971a4db45a007c7efe416 (diff) |
New upstream version 6.2.0upstream/6.2.0
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 |