Fix misleading indentation

This commit is contained in:
Ion Gaztañaga
2026-04-17 01:08:48 +02:00
parent 373ceb8476
commit af799513aa
2 changed files with 42 additions and 14 deletions
@@ -63,22 +63,36 @@ segduo<RASrcIter, Iter2> segmented_equal_iter2_bounded
difference_type n = last1 - first1;
while(n >= difference_type(4)) {
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
n -= 4;
}
switch(n) {
case 3:
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
BOOST_FALLTHROUGH;
case 2:
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
BOOST_FALLTHROUGH;
case 1:
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
BOOST_FALLTHROUGH;
default:
break;
@@ -67,22 +67,36 @@ segduo<RASrcIter, Iter2> segmented_mismatch_iter2_bounded
difference_type n = last1 - first1;
while(n >= difference_type(4)) {
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
n -= 4;
}
switch(n) {
case 3:
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
BOOST_FALLTHROUGH;
case 2:
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
BOOST_FALLTHROUGH;
case 1:
if(first2 == iter2_last) goto out_path; if(!pred(*first1, *first2)) goto out_path; ++first1; ++first2;
if(first2 == iter2_last) goto out_path;
if(!pred(*first1, *first2)) goto out_path;
++first1; ++first2;
BOOST_FALLTHROUGH;
default:
break;