diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 19:02:36 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 19:02:36 -0800 |
| commit | 984a869c985f8cc334cc40bd5b387e11d9f9ba29 (patch) | |
| tree | 52924e7275843295607666408c51f0718bf61819 /bp.c | |
| parent | 5d1ffd61440a9563d10e921538cbfdc4e21bbd09 (diff) | |
Renaming 'op' member fields to 'pat'
Diffstat (limited to 'bp.c')
| -rw-r--r-- | bp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
