aboutsummaryrefslogtreecommitdiff
path: root/bp.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-12 19:27:57 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-12 19:27:57 -0800
commit8144ae5dc941cce599889c0feb15ecceb9e4f878 (patch)
tree64991885ab9f0d65c3f5964276aeac1020d10198 /bp.c
parent659ed934d297d0d21d141bc4e9ecf8519a390eb1 (diff)
Renamed op.op -> op.type
Diffstat (limited to 'bp.c')
-rw-r--r--bp.c2
1 files changed, 1 insertions, 1 deletions
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");