diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-05-28 09:13:59 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-05-28 09:13:59 +0000 |
commit | 000f53cf12bbfb4f658d2417a96e03cb3c0b97cc (patch) | |
tree | 1915f0bf6bb5594e34e6d8ef95ff8dd3dcd6b6b2 /pcregrep.c | |
parent | f4176cfb682170c5e9246949df653c82200d7259 (diff) | |
download | pcre-000f53cf12bbfb4f658d2417a96e03cb3c0b97cc.tar.gz |
Final source file tidies for 8.33 release.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1335 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcregrep.c')
-rw-r--r-- | pcregrep.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1378,7 +1378,7 @@ to find all possible matches. Arguments: matchptr the start of the subject length the length of the subject to match - options options for pcre_exec + options options for pcre_exec startoffset where to start matching offsets the offets vector to fill in mrc address of where to put the result of pcre_exec() @@ -1389,7 +1389,7 @@ Returns: TRUE if there was a match */ static BOOL -match_patterns(char *matchptr, size_t length, unsigned int options, +match_patterns(char *matchptr, size_t length, unsigned int options, int startoffset, int *offsets, int *mrc) { int i; @@ -1540,7 +1540,7 @@ while (ptr < endptr) int endlinelength; int mrc = 0; int startoffset = 0; - unsigned int options = 0; + unsigned int options = 0; BOOL match; char *matchptr = ptr; char *t = ptr; @@ -1630,8 +1630,8 @@ while (ptr < endptr) /* Run through all the patterns until one matches or there is an error other than NOMATCH. This code is in a subroutine so that it can be re-used for - finding subsequent matches when colouring matched lines. After finding one - match, set PCRE_NOTEMPTY to disable any further matches of null strings in + finding subsequent matches when colouring matched lines. After finding one + match, set PCRE_NOTEMPTY to disable any further matches of null strings in this line. */ match = match_patterns(matchptr, length, options, startoffset, offsets, &mrc); |