From b2deef8db81721193baf411036b5f0f7f41a5bcb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 3 Mar 2025 15:51:50 -0500 Subject: [PATCH] Bugfix --- pattern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pattern.c b/pattern.c index e8dc8d7..5778012 100644 --- a/pattern.c +++ b/pattern.c @@ -696,7 +696,7 @@ int fprint_pattern(FILE *stream, bp_pat_t *pat) CASE(CHAIN, FMT("("); PAT(data.first); FMT(", "); PAT(data.second); FMT(")")) CASE(MATCH, FMT("("); PAT(data.pat); FMT(", matches="); PAT(data.must_match); FMT(")")) CASE(NOT_MATCH, FMT("("); PAT(data.pat); FMT(", must_not_match="); PAT(data.must_not_match); FMT(")")) - CASE(REPLACE, FMT("("); PAT(data.pat); FMT(", \"%.*s\")", data.pat, data.len, data.text)) + CASE(REPLACE, FMT("("); PAT(data.pat); FMT(", \"%.*s\")", data.len, data.text)) CASE(REF, FMT("(%.*s)", data.len, data.name)) CASE(NODENT) CASE(CURDENT)