aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/RESearch.cxx
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-01-20 08:06:36 +0100
committerStefan Weil <sw@weilnetz.de>2014-01-20 08:06:36 +0100
commit9851c8441028eabf58e2b7261db337f9dd0376de (patch)
tree69c637ae7198a6931b5b7bf892593546978f4969 /src/RESearch.cxx
parent9a9886b0346e124dac362602d9d90a538bf0288c (diff)
downloadscintilla-mirror-9851c8441028eabf58e2b7261db337f9dd0376de.tar.gz
Fix typos in comments (src)
Diffstat (limited to 'src/RESearch.cxx')
-rw-r--r--src/RESearch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx
index 1958773cb..74db01355 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -784,7 +784,7 @@ int RESearch::Execute(CharacterIndexer &ci, int lp, int endp) {
c = *(ap+1);
while ((lp < endp) && (static_cast<unsigned char>(ci.CharAt(lp)) != c))
lp++;
- if (lp >= endp) /* if EOS, fail, else fall thru. */
+ if (lp >= endp) /* if EOS, fail, else fall through. */
return 0;
default: /* regular matching all the way. */
while (lp < endp) {
@@ -814,7 +814,7 @@ int RESearch::Execute(CharacterIndexer &ci, int lp, int endp) {
*
* special case optimizations: (nfa[n], nfa[n+1])
* CLO ANY
- * We KNOW .* will match everything upto the
+ * We KNOW .* will match everything up to the
* end of line. Thus, directly go to the end of
* line, without recursive PMatch calls. As in
* the other closure cases, the remaining pattern