diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-19 09:52:44 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-19 09:52:44 +0000 |
commit | 1b03b33d34bd6cc9a5b966db329ca84660c32241 (patch) | |
tree | 255c502be0360983464c637e08c13dc0f9df91d3 /pcrecpp.cc | |
parent | d48aa6f5ee7622c3585fbe5abd21a933a49183af (diff) | |
download | pcre-1b03b33d34bd6cc9a5b966db329ca84660c32241.tar.gz |
File tidies caused by building a release.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@259 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcrecpp.cc')
-rw-r--r-- | pcrecpp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -354,7 +354,7 @@ static int NewlineMode(int pcre_options) { else if (newline == -1) newline_mode = PCRE_NEWLINE_ANY; else if (newline == -2) - newline_mode = PCRE_NEWLINE_ANYCRLF; + newline_mode = PCRE_NEWLINE_ANYCRLF; else assert("" == "Unexpected return value from pcre_config(NEWLINE)"); } @@ -384,7 +384,7 @@ int RE::GlobalReplace(const StringPiece& rewrite, // Note it's better to call pcre_fullinfo() than to examine // all_options(), since options_ could have changed bewteen // compile-time and now, but this is simpler and safe enough. - // Modified by PH to add ANY and ANYCRLF. + // Modified by PH to add ANY and ANYCRLF. if (start+1 < static_cast<int>(str->length()) && (*str)[start] == '\r' && (*str)[start+1] == '\n' && (NewlineMode(options_.all_options()) == PCRE_NEWLINE_CRLF || |