diff options
Diffstat (limited to 'lib/ap_skip.cc')
| -rw-r--r-- | lib/ap_skip.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ap_skip.cc b/lib/ap_skip.cc index 020dfbb7..e903db78 100644 --- a/lib/ap_skip.cc +++ b/lib/ap_skip.cc @@ -116,15 +116,15 @@ CS& CS::skiparg() * _ok = skipped something */ CS& CS::skipto1(const std::string& t) -{untested(); +{itested(); size_t here = cursor(); - while (ns_more() && !match1(t)) {untested(); + while (ns_more() && !match1(t)) {itested(); skip(); } _ok = ns_more(); if (!_ok) {untested(); reset(here); - }else{untested(); + }else{itested(); } return *this; } @@ -139,7 +139,7 @@ CS& CS::skipto1(char c) skip(); } _ok = ns_more(); - if (!_ok) {untested(); + if (!_ok) {itested(); reset(here); }else{ } |
