grep.h: make "grep_opt.pattern_type_option" use its enum
Change the "pattern_type_option" member of "struct grep_opt" to use the enum type we use for it. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
72365bb499
commit
321ee43628
2
grep.h
2
grep.h
@ -164,7 +164,7 @@ struct grep_opt {
|
|||||||
int funcname;
|
int funcname;
|
||||||
int funcbody;
|
int funcbody;
|
||||||
int extended_regexp_option;
|
int extended_regexp_option;
|
||||||
int pattern_type_option;
|
enum grep_pattern_type pattern_type_option;
|
||||||
int ignore_locale;
|
int ignore_locale;
|
||||||
char colors[NR_GREP_COLORS][COLOR_MAXLEN];
|
char colors[NR_GREP_COLORS][COLOR_MAXLEN];
|
||||||
unsigned pre_context;
|
unsigned pre_context;
|
||||||
|
Reference in New Issue
Block a user