summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-07-22 09:06:15 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-07-22 09:06:15 +0000
commit7c9f98aa0d1ba2605294670d896ba36cf63edf04 (patch)
tree6416a87c739c4833fea581b8f9c2ece49f7446dd /testdata
parent960abe1e888bcd1c76b3d3465f91aa186ae33058 (diff)
downloadpcre-7c9f98aa0d1ba2605294670d896ba36cf63edf04.tar.gz
Fix bad compilation of repeated conditional with only one branch.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1581 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput22
-rw-r--r--testdata/testoutput216
2 files changed, 18 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2
index 92a65df..d83c436 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -4188,4 +4188,6 @@ backtracking verbs. --/
"[[[.\xe8Nq\xffq\xff\xe0\x2|||::Nq\xffq\xff\xe0\x6\x2|||::[[[:[::::::[[[[[::::::::[:[[[:[:::[[[[[[[[[[[[:::::::::::::::::[[.\xe8Nq\xffq\xff\xe0\x2|||::Nq\xffq\xff\xe0\x6\x2|||::[[[:[::::::[[[[[::::::::[:[[[:[:::[[[[[[[[[[[[[[:::E[[[:[:[[:[:::[[:::E[[[:[:[[:'[:::::E[[[:[::::::[[[:[[[[[[[::E[[[:[::::::[[[:[[[[[[[[:[[::[::::[[:::::::[[:[[[[[[[:[[::[:[[:[~"
+/()(?(R)0)*+/BZ
+
/-- End of testinput2 --/
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index cda48f5..745832f 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -14507,4 +14507,20 @@ Failed: unmatched parentheses at offset 23
"[[[.\xe8Nq\xffq\xff\xe0\x2|||::Nq\xffq\xff\xe0\x6\x2|||::[[[:[::::::[[[[[::::::::[:[[[:[:::[[[[[[[[[[[[:::::::::::::::::[[.\xe8Nq\xffq\xff\xe0\x2|||::Nq\xffq\xff\xe0\x6\x2|||::[[[:[::::::[[[[[::::::::[:[[[:[:::[[[[[[[[[[[[[[:::E[[[:[:[[:[:::[[:::E[[[:[:[[:'[:::::E[[[:[::::::[[[:[[[[[[[::E[[[:[::::::[[[:[[[[[[[[:[[::[::::[[:::::::[[:[[[[[[[:[[::[:[[:[~"
Failed: missing terminating ] for character class at offset 353
+/()(?(R)0)*+/BZ
+------------------------------------------------------------------
+ Bra
+ CBra 1
+ Ket
+ Braposzero
+ SBraPos
+ SCond
+ Cond recurse any
+ 0
+ Ket
+ KetRpos
+ Ket
+ End
+------------------------------------------------------------------
+
/-- End of testinput2 --/