[Pcre-svn] [721] code/trunk/src/pcre2test.c: Fix buglet in r…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [721] code/trunk/src/pcre2test.c: Fix buglet in recent update for showing malloc/free at match time.
Revision: 721
          http://www.exim.org/viewvc/pcre2?view=rev&revision=721
Author:   ph10
Date:     2017-03-31 16:51:41 +0100 (Fri, 31 Mar 2017)
Log Message:
-----------
Fix buglet in recent update for showing malloc/free at match time.


Modified Paths:
--------------
    code/trunk/src/pcre2test.c


Modified: code/trunk/src/pcre2test.c
===================================================================
--- code/trunk/src/pcre2test.c    2017-03-31 05:40:37 UTC (rev 720)
+++ code/trunk/src/pcre2test.c    2017-03-31 15:51:41 UTC (rev 721)
@@ -464,8 +464,10 @@
 #define CTL_ANYINFO          (CTL_DEBUG|CTL_BINCODE|CTL_CALLOUT_INFO)
 #define CTL_ANYGLOB          (CTL_ALTGLOBAL|CTL_GLOBAL)


-/* These are all the controls that may be set either on a pattern or on a
-data line. */
+/* These are the matching controls that may be set either on a pattern or on a
+data line. They are copied from the pattern controls as initial settings for
+data line controls Note that CTL_MEMORY is not included here, because it does
+different things in the two cases. */

 #define CTL_ALLPD  (CTL_AFTERTEXT|\
                     CTL_ALLAFTERTEXT|\
@@ -474,7 +476,6 @@
                     CTL_ALTGLOBAL|\
                     CTL_GLOBAL|\
                     CTL_MARK|\
-                    CTL_MEMORY|\
                     CTL_STARTCHAR|\
                     CTL_UTF8_INPUT)