From 984a869c985f8cc334cc40bd5b387e11d9f9ba29 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 19:02:36 -0800 Subject: Renaming 'op' member fields to 'pat' --- bp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bp.c') diff --git a/bp.c b/bp.c index 124c18e..380a43d 100644 --- a/bp.c +++ b/bp.c @@ -179,7 +179,7 @@ static void sig_handler(int sig) { (void)sig; cleanup(); } static void confirm_replacements(file_t *f, match_t *m, confirm_t *confirm) { if (*confirm == CONFIRM_ALL) return; - if (m->op->type == VM_REPLACE) { + if (m->pat->type == VM_REPLACE) { if (*confirm == CONFIRM_NONE) { m->skip_replacement = 1; goto check_children; @@ -426,7 +426,7 @@ int main(int argc, char *argv[]) if (d) { d->next = defs; defs = d; - str = d->op->end; + str = d->pat->end; } else { pat_t *p = bp_pattern(arg_file, str); check(p, "Pattern failed to compile: %s", flag); -- cgit v1.2.3