summaryrefslogtreecommitdiff
path: root/src/searchutils.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-01-11 22:28:24 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-01-11 22:29:19 -0800
commit3438c3a65c655baed1bb764e41d7ddcced5f1e7c (patch)
treedabbf3a7e928ed0c129965cf94bdf5ba4fbda3c4 /src/searchutils.c
parent3cd2e8625ae7c0608b91af5d2fff9c1c41eedbea (diff)
downloadgrep-3438c3a65c655baed1bb764e41d7ddcced5f1e7c.tar.gz
grep: improve comments, mostly in kwset
Remove kwset.h comments that are obsolete and seemingly not maintained anyway; people can look in kwset.c instead. Update comments to reflect current behavior better. Cite Faro & Lecroq 2013. Use GNU style for end-of-sentence.
Diffstat (limited to 'src/searchutils.c')
-rw-r--r--src/searchutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/searchutils.c b/src/searchutils.c
index 51a3097c..e0a94e27 100644
--- a/src/searchutils.c
+++ b/src/searchutils.c
@@ -133,7 +133,7 @@ mb_goback (char const **mb_start, char const *cur, char const *end)
return p == cur ? 0 : cur - p0;
}
-/* Examine the start of BUF (of size SIZE) for word constituents.
+/* Examine the start of BUF (which goes to END) for word constituents.
If COUNTALL, examine as many as possible; otherwise, examine at most one.
Return the total number of bytes in the examined characters. */
static size_t