From 389f4c1ef819a38480243c17f0b35a2f088cd855 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Mon, 14 Mar 2016 19:11:08 +0000 Subject: [PATCH] harmonize S_dump_exec_pos()'s last arg type embed.fnc declared it as "U32 depth", while it was defined as "const U32 depth". --- embed.fnc | 2 +- proto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/embed.fnc b/embed.fnc index a7f31a9..5e2b061 100644 --- a/embed.fnc +++ b/embed.fnc @@ -2377,7 +2377,7 @@ EsR |WB_enum|backup_one_WB |NN WB_enum * previous \ |const bool utf8_target # ifdef DEBUGGING Es |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\ - |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|U32 depth + |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|const U32 depth Es |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\ |NN const char *start|NN const char *end\ |NN const char *blurb diff --git a/proto.h b/proto.h index baa358e..0de5c31 100644 --- a/proto.h +++ b/proto.h @@ -3867,7 +3867,7 @@ STATIC U8 S_regtail_study(pTHX_ RExC_state_t *pRExC_state, regnode *p, const reg STATIC void S_debug_start_match(pTHX_ const REGEXP *prog, const bool do_utf8, const char *start, const char *end, const char *blurb); #define PERL_ARGS_ASSERT_DEBUG_START_MATCH \ assert(prog); assert(start); assert(end); assert(blurb) -STATIC void S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const char *loc_regeol, const char *loc_bostr, const char *loc_reg_starttry, const bool do_utf8, U32 depth); +STATIC void S_dump_exec_pos(pTHX_ const char *locinput, const regnode *scan, const char *loc_regeol, const char *loc_bostr, const char *loc_reg_starttry, const bool do_utf8, const U32 depth); #define PERL_ARGS_ASSERT_DUMP_EXEC_POS \ assert(locinput); assert(scan); assert(loc_regeol); assert(loc_bostr); assert(loc_reg_starttry) PERL_CALLCONV int Perl_re_exec_indentf(pTHX_ const char *fmt, U32 depth, ...); -- 1.8.3.1