aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK.Kosako <kkosako0@gmail.com>2022-11-28 21:20:42 +0900
committerK.Kosako <kkosako0@gmail.com>2022-11-28 21:20:42 +0900
commitabd3080cb443454937d3ecaff9597159da51ca33 (patch)
tree834285fe51abf5b7719f279fe1db593095a4c723
parent8a1bee616466207747765e7a705e07a8518e8a46 (diff)
downloadoniguruma-abd3080cb443454937d3ecaff9597159da51ca33.zip
oniguruma-abd3080cb443454937d3ecaff9597159da51ca33.tar.gz
oniguruma-abd3080cb443454937d3ecaff9597159da51ca33.tar.bz2
add output of retry_limit_in_match into MATCH_COUNTER_OUT()
-rw-r--r--src/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexec.c b/src/regexec.c
index e5ed45d..496da3b 100644
--- a/src/regexec.c
+++ b/src/regexec.c
@@ -2812,7 +2812,7 @@ typedef struct {
#define MATCH_COUNTER_OUT(title) do {\
int i;\
- fprintf(DBGFP, "%s (%ld): retry limit: %8lu, subexp_call: %8lu\n", (title), (sstart - str), retry_in_match_counter, msa->subexp_call_in_search_counter); \
+ fprintf(DBGFP, "%s (%ld): retry limit: %8lu/%8lu, subexp_call: %8lu\n", (title), (sstart - str), retry_in_match_counter, retry_limit_in_match, msa->subexp_call_in_search_counter); \
fprintf(DBGFP, " ");\
for (i = 0; i < MAX_SUBEXP_CALL_COUNTERS; i++) {\
fprintf(DBGFP, " %6lu", subexp_call_counters[i]);\