[Pcre-svn] [970] code/trunk: Fix oversight in recent OP_COMM…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [970] code/trunk: Fix oversight in recent OP_COMMIT_ARG update.
Revision: 970
          http://www.exim.org/viewvc/pcre2?view=rev&revision=970
Author:   ph10
Date:     2018-07-22 16:19:43 +0100 (Sun, 22 Jul 2018)
Log Message:
-----------
Fix oversight in recent OP_COMMIT_ARG update.


Modified Paths:
--------------
    code/trunk/src/pcre2_auto_possess.c
    code/trunk/testdata/testinput1
    code/trunk/testdata/testoutput1


Modified: code/trunk/src/pcre2_auto_possess.c
===================================================================
--- code/trunk/src/pcre2_auto_possess.c    2018-07-21 14:52:26 UTC (rev 969)
+++ code/trunk/src/pcre2_auto_possess.c    2018-07-22 15:19:43 UTC (rev 970)
@@ -7,7 +7,7 @@


                        Written by Philip Hazel
      Original API code Copyright (c) 1997-2012 University of Cambridge
-          New API code Copyright (c) 2016-2017 University of Cambridge
+          New API code Copyright (c) 2016-2018 University of Cambridge


-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -1235,6 +1235,7 @@
#endif

     case OP_MARK:
+    case OP_COMMIT_ARG: 
     case OP_PRUNE_ARG:
     case OP_SKIP_ARG:
     case OP_THEN_ARG:


Modified: code/trunk/testdata/testinput1
===================================================================
--- code/trunk/testdata/testinput1    2018-07-21 14:52:26 UTC (rev 969)
+++ code/trunk/testdata/testinput1    2018-07-22 15:19:43 UTC (rev 970)
@@ -6246,4 +6246,6 @@
 #pattern -no_start_optimize
 #subject -mark 


+/(.COMMIT)(*COMMIT::::::::::interal error:::)/
+
# End of testinput1

Modified: code/trunk/testdata/testoutput1
===================================================================
--- code/trunk/testdata/testoutput1    2018-07-21 14:52:26 UTC (rev 969)
+++ code/trunk/testdata/testoutput1    2018-07-22 15:19:43 UTC (rev 970)
@@ -9906,4 +9906,6 @@
 #pattern -no_start_optimize
 #subject -mark 


+/(.COMMIT)(*COMMIT::::::::::interal error:::)/
+
# End of testinput1