From 8144ae5dc941cce599889c0feb15ecceb9e4f878 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jan 2021 19:27:57 -0800 Subject: Renamed op.op -> op.type --- bp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bp.c') diff --git a/bp.c b/bp.c index 6fe630d..cd9e260 100644 --- a/bp.c +++ b/bp.c @@ -60,7 +60,7 @@ static char *getflag(const char *flag, char *argv[], int *i) static int print_errors(file_t *f, match_t *m) { int ret = 0; - if (m->op->op == VM_CAPTURE && m->op->args.capture.name && streq(m->op->args.capture.name, "!")) { + if (m->op->type == VM_CAPTURE && m->op->args.capture.name && streq(m->op->args.capture.name, "!")) { printf("\033[31;1m"); print_match(stdout, f, m, print_options); printf("\033[0m\n"); -- cgit v1.2.3