diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-23 13:42:46 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-23 13:42:46 -0700 |
| commit | e938ecbdcce8d56d2cf78e57879e364f990b99be (patch) | |
| tree | 18579b8060fd2295238cbbf8d4f25781f41ba377 /pattern.c | |
| parent | cf99abb852536867169168d2c7fabf158099dfd9 (diff) | |
| parent | 744a92756200052837e25f4f7758175241528536 (diff) | |
Merge branch 'master' into setjmp
Diffstat (limited to 'pattern.c')
| -rw-r--r-- | pattern.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -400,16 +400,6 @@ static pat_t *_bp_simplepattern(file_t *f, const char *str) } // Parentheses case '(': { - if (start + 2 < f->end && strncmp(start, "(!)", 3) == 0) { // (!) errors - str = start + 3; - pat_t *pat = bp_simplepattern(f, str); - if (!pat) pat = new_pat(f, str, str, 0, 0, BP_STRING); - pat = expand_replacements(f, pat, false); - pat_t *error = new_pat(f, start, pat->end, pat->min_matchlen, pat->max_matchlen, BP_ERROR); - error->args.pat = pat; - return error; - } - pat_t *pat = bp_pattern_nl(f, str, true); if (!pat) file_err(f, str, str, "There should be a valid pattern after this parenthesis."); |
