summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.h
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2011-04-07 13:01:03 +0000
committergabor <gabor@FreeBSD.org>2011-04-07 13:01:03 +0000
commit43d1fb6126cdbf87fca36832fc399143e021ad7c (patch)
tree2578a6e697c6781cfb44ecbbb602f38a14ae0fcf /usr.bin/grep/grep.h
parenta39cca6aa44fb41dad43abc8314ab193828507dc (diff)
downloadFreeBSD-src-43d1fb6126cdbf87fca36832fc399143e021ad7c.zip
FreeBSD-src-43d1fb6126cdbf87fca36832fc399143e021ad7c.tar.gz
- Simplify the fixed string pattern preprocessing code
- Improve readability Approved by: delphij (mentor) Obtained from: The NetBSD Project
Diffstat (limited to 'usr.bin/grep/grep.h')
-rw-r--r--usr.bin/grep/grep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/grep/grep.h b/usr.bin/grep/grep.h
index 5235e021..1562930 100644
--- a/usr.bin/grep/grep.h
+++ b/usr.bin/grep/grep.h
@@ -102,6 +102,7 @@ typedef struct {
bool bol;
bool eol;
bool reversed;
+ bool word;
} fastgrep_t;
/* Flags passed to regcomp() and regexec() */
OpenPOWER on IntegriCloud