From 6b4ee2c0b163de6fdac2dca6ddca6d3065d45bcd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 22 Dec 2019 17:53:02 -0800 Subject: maint: adjust new comments * src/dfasearch.c (possible_backrefs_in_pattern): Remove a duplicate "a", insert a "be" and a comma, and reformat. --- src/dfasearch.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/dfasearch.c') diff --git a/src/dfasearch.c b/src/dfasearch.c index eb7732bd..b1a242a5 100644 --- a/src/dfasearch.c +++ b/src/dfasearch.c @@ -110,16 +110,16 @@ kwsmusts (struct dfa_comp *dc) static bool _GL_ATTRIBUTE_PURE possible_backrefs_in_pattern (char const *keys, ptrdiff_t len, bool bs_safe) { - /* Normally a backslash, but in an unsafe encoding this is a a - non-char value so that the comparison below always fails, because - if there are two adjacent '\' bytes the first might the last byte - of a multibyte character. */ + /* Normally a backslash, but in an unsafe encoding this is a non-char + value so that the comparison below always fails, because if there + are two adjacent '\' bytes, the first might be the last byte of a + multibyte character. */ int second_backslash = bs_safe ? '\\' : CHAR_MAX + 1; /* This code can return true even if KEYS lacks a backreference, for - patterns like [\2], or for encodings where '\' appears as - the last byte of a multibyte character. However, false alarms - should be rare and do not affect correctness. */ + patterns like [\2], or for encodings where '\' appears as the last + byte of a multibyte character. However, false alarms should be + rare and do not affect correctness. */ /* Do not look for a backslash in the pattern's last byte, since it can't be part of a backreference and this streamlines the code. */ -- cgit v1.2.1