From 4ec012966a82dc8689eedf434f9a837175a302ef Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 16 Nov 2014 22:57:02 -0500 Subject: simplify search --- expac.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'expac.h') diff --git a/expac.h b/expac.h index 0d6c5b6..d2c6a5a 100644 --- a/expac.h +++ b/expac.h @@ -10,10 +10,9 @@ typedef enum PackageCorpus { } PackageCorpus; typedef enum SearchWhat { - SEARCH_GROUPS = (1 << 0), - SEARCH_REGEX = (1 << 1), - SEARCH_EXACT = (1 << 2), - _SEARCH_MAX = (1 << 15), + SEARCH_EXACT, + SEARCH_GROUPS, + SEARCH_REGEX, } SearchWhat; typedef struct Expac { -- cgit v1.2.3-54-g00ecf