From c46a8227d0bfc31e4f71b6441303348f5c31174b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 20 Jan 2021 16:12:46 -0800 Subject: Added --skip flag for skipping over patterns --- pattern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pattern.h') diff --git a/pattern.h b/pattern.h index bcb9eac..908d3b1 100644 --- a/pattern.h +++ b/pattern.h @@ -15,6 +15,8 @@ __attribute__((nonnull(1,2))) pat_t *bp_replacement(file_t *f, pat_t *replacepat, const char *replacement); __attribute__((nonnull(1))) pat_t *chain_together(file_t *f, pat_t *first, pat_t *second); +__attribute__((nonnull(1))) +pat_t *either_pat(file_t *f, pat_t *first, pat_t *second); __attribute__((nonnull)) pat_t *bp_pattern(file_t *f, const char *str); __attribute__((nonnull)) -- cgit v1.2.3