diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-12 19:27:57 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-12 19:27:57 -0800 |
| commit | 8144ae5dc941cce599889c0feb15ecceb9e4f878 (patch) | |
| tree | 64991885ab9f0d65c3f5964276aeac1020d10198 /bp.c | |
| parent | 659ed934d297d0d21d141bc4e9ecf8519a390eb1 (diff) | |
Renamed op.op -> op.type
Diffstat (limited to 'bp.c')
| -rw-r--r-- | bp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |
