[Pcre-svn] [1154] code/trunk/src: Comments updates.

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1154] code/trunk/src: Comments updates.
Revision: 1154
          http://www.exim.org/viewvc/pcre2?view=rev&revision=1154
Author:   ph10
Date:     2019-08-01 17:59:50 +0100 (Thu, 01 Aug 2019)
Log Message:
-----------
Comments updates.


Modified Paths:
--------------
    code/trunk/src/pcre2_match.c
    code/trunk/src/pcre2_study.c


Modified: code/trunk/src/pcre2_match.c
===================================================================
--- code/trunk/src/pcre2_match.c    2019-08-01 16:49:09 UTC (rev 1153)
+++ code/trunk/src/pcre2_match.c    2019-08-01 16:59:50 UTC (rev 1154)
@@ -6024,9 +6024,9 @@


 Returns:          > 0 => success; value is the number of ovector pairs filled
                   = 0 => success, but ovector is not big enough
-                   -1 => failed to match (PCRE2_ERROR_NOMATCH)
-                   -2 => partial match (PCRE2_ERROR_PARTIAL)
-                 < -2 => some kind of unexpected problem
+                  = -1 => failed to match (PCRE2_ERROR_NOMATCH)
+                  = -2 => partial match (PCRE2_ERROR_PARTIAL)
+                  < -2 => some kind of unexpected problem
 */


PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION

Modified: code/trunk/src/pcre2_study.c
===================================================================
--- code/trunk/src/pcre2_study.c    2019-08-01 16:49:09 UTC (rev 1153)
+++ code/trunk/src/pcre2_study.c    2019-08-01 16:59:50 UTC (rev 1154)
@@ -1584,7 +1584,9 @@
 /* This function is handed a compiled expression that it must study to produce
 information that will speed up the matching.


-Argument:  points to the compiled expression
+Argument:  
+  re       points to the compiled expression
+   
 Returns:   0 normally; non-zero should never normally occur
            1 unknown opcode in set_start_bits
            2 missing capturing bracket