From 9851c8441028eabf58e2b7261db337f9dd0376de Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 20 Jan 2014 08:06:36 +0100 Subject: Fix typos in comments (src) --- src/RESearch.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/RESearch.cxx') 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(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 -- cgit v1.2.3