diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-05-01 16:39:35 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-05-01 16:39:35 +0000 |
commit | b60ddd32c4cd77306544b9b5949a3c26477292e3 (patch) | |
tree | 37b074561a8050b0b47c0646f567fc25f208d1bd /pcre_dfa_exec.c | |
parent | ca89daa8ae72e5ac517eacd70cfb88ad4ca3d7a1 (diff) | |
download | pcre-b60ddd32c4cd77306544b9b5949a3c26477292e3.tar.gz |
Source tidies (trails spaces, html updates) for 8.33-RC1.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1320 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_dfa_exec.c')
-rw-r--r-- | pcre_dfa_exec.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c index a99a850..8211760 100644 --- a/pcre_dfa_exec.c +++ b/pcre_dfa_exec.c @@ -1119,12 +1119,12 @@ for (;;) if (c == *cp++) { OK = TRUE; break; } } break; - + case PT_UCNC: OK = c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || - c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || + c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || c >= 0xe000; - break; + break; /* Should never occur, but keep compilers from grumbling. */ @@ -1372,9 +1372,9 @@ for (;;) case PT_UCNC: OK = c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || - c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || + c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || c >= 0xe000; - break; + break; /* Should never occur, but keep compilers from grumbling. */ @@ -1616,9 +1616,9 @@ for (;;) case PT_UCNC: OK = c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || - c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || + c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || c >= 0xe000; - break; + break; /* Should never occur, but keep compilers from grumbling. */ @@ -1885,9 +1885,9 @@ for (;;) case PT_UCNC: OK = c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || - c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || + c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || c >= 0xe000; - break; + break; /* Should never occur, but keep compilers from grumbling. */ @@ -3561,17 +3561,17 @@ for (;;) /* Anything other than "no match" means we are done, always; otherwise, carry on only if not anchored. */ - if (rc != PCRE_ERROR_NOMATCH || anchored) + if (rc != PCRE_ERROR_NOMATCH || anchored) { if (rc == PCRE_ERROR_PARTIAL && offsetcount >= 2) { offsets[0] = (int)(md->start_used_ptr - (PCRE_PUCHAR)subject); offsets[1] = (int)(end_subject - (PCRE_PUCHAR)subject); - if (offsetcount > 2) + if (offsetcount > 2) offsets[2] = (int)(current_subject - (PCRE_PUCHAR)subject); } return rc; - } + } /* Advance to the next subject character unless we are at the end of a line and firstline is set. */ |