summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-04-09 23:11:52 +0200
committerJim Meyering <meyering@redhat.com>2011-04-09 23:11:52 +0200
commit50ff1abe3f2a83cfc395377f1232ad2a7bbcdcff (patch)
tree1a9bf207485f15bacb504a6b765c5233737d4f0d
parent7fd11db8f49eeecb0015e78aceadd921948c3cff (diff)
downloadgrep-50ff1abe3f2a83cfc395377f1232ad2a7bbcdcff.tar.gz
maint: fix typos in comments: s/can not/cannot/
* src/dfa.c (check_matching_with_multibyte_ops, dfastate): As above.
-rw-r--r--src/dfa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dfa.c b/src/dfa.c
index dec8d5ba..bdc3a7ff 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2529,7 +2529,7 @@ dfastate (int s, struct dfa *d, int trans[])
by accepting accepts 1st byte of <mb A>, and state[i+1]
accepts 2nd byte of <mb A>, if state[i+1] encounter the
codepoint of <sb a>, it must not be <sb a> but 2nd byte of
- <mb A>, so we can not add state[0]. */
+ <mb A>, so we cannot add state[0]. */
next_isnt_1st_byte = 0;
for (j = 0; j < follows.nelem; ++j)
@@ -2983,7 +2983,7 @@ check_matching_with_multibyte_ops (struct dfa *d, int s, int idx)
rarray[i] = match_mb_charset(d, s, pos, idx);
break;
default:
- break; /* can not happen. */
+ break; /* cannot happen. */
}
}
return rarray;