index 45a222d904b5898758c3c84f6ef1e0119c81f6b2..a67005de62d1442e7ba6a8dc27320225a0d55819 100644 (file)
--- a/grep.h
+++ b/grep.h
#ifndef GREP_H
#define GREP_H
+#include "color.h"
enum grep_pat_token {
GREP_PATTERN,
const char *pattern;
enum grep_header_field field;
regex_t regexp;
+ unsigned fixed:1;
+ unsigned word_regexp:1;
};
enum grep_expr_node {
unsigned relative:1;
unsigned pathname:1;
unsigned null_following_name:1;
+ int color;
+ char color_match[COLOR_MAXLEN];
+ const char *color_external;
int regflags;
unsigned pre_context;
unsigned post_context;