diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2008-08-25 18:28:05 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2008-08-25 18:28:05 +0000 |
commit | d68f7d9fa6a81170dd9b1b5e8871d32b8a3a726c (patch) | |
tree | c3586277f92c23d03d7311691ded336574be3e32 /pcre_dfa_exec.c | |
parent | a8a7a4c76ffd3885762e37880b5363e374831501 (diff) | |
download | pcre-d68f7d9fa6a81170dd9b1b5e8871d32b8a3a726c.tar.gz |
Source tidies for 7.8-RC1
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@371 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_dfa_exec.c')
-rw-r--r-- | pcre_dfa_exec.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c index 11a03e6..61bf0ce 100644 --- a/pcre_dfa_exec.c +++ b/pcre_dfa_exec.c @@ -2736,15 +2736,15 @@ for (;;) USPTR t = current_subject; #ifdef SUPPORT_UTF8 if (utf8) - { - while (t < md->end_subject && !IS_NEWLINE(t)) + { + while (t < md->end_subject && !IS_NEWLINE(t)) { t++; while (t < end_subject && (*t & 0xc0) == 0x80) t++; - } + } } else -#endif +#endif while (t < md->end_subject && !IS_NEWLINE(t)) t++; end_subject = t; } @@ -2771,17 +2771,17 @@ for (;;) { while (current_subject < end_subject && !WAS_NEWLINE(current_subject)) { - current_subject++; - while(current_subject < end_subject && - (*current_subject & 0xc0) == 0x80) + current_subject++; + while(current_subject < end_subject && + (*current_subject & 0xc0) == 0x80) current_subject++; - } + } } else -#endif +#endif while (current_subject < end_subject && !WAS_NEWLINE(current_subject)) current_subject++; - + /* If we have just passed a CR and the newline option is ANY or ANYCRLF, and we are now at a LF, advance the match position by one more character. */ |