X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=grep.h;h=a65280026d5dee8ab059bead79f05d6a1111147a;hb=4b340593551217904d794cc0a8db55db89b5b066;hp=ae50c45a4d408c1931f39b3d393ea0188bdde950;hpb=1da6d98a9acd2db3902bf432a097771c76f4fd44;p=git.git diff --git a/grep.h b/grep.h index ae50c45a4..a65280026 100644 --- a/grep.h +++ b/grep.h @@ -7,6 +7,7 @@ typedef int pcre; typedef int pcre_extra; #endif +#include "kwset.h" enum grep_pat_token { GREP_PATTERN, @@ -41,6 +42,7 @@ struct grep_pat { regex_t regexp; pcre *pcre_regexp; pcre_extra *pcre_extra_info; + kwset_t kws; unsigned fixed:1; unsigned ignore_case:1; unsigned word_regexp:1;