summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2008-11-06 18:48:28 +0000
committerYves Orton <demerphq@gmail.com>2008-11-06 18:48:28 +0000
commit24d786f4d2806834028ce32abc1769da2e945f9b (patch)
tree0521967ddf8d97acb3f2a223e518b5b9c34c9291 /regexec.c
parenta4893424bce3ee5da2b2e8e1c256b806c74bfb50 (diff)
downloadperl-24d786f4d2806834028ce32abc1769da2e945f9b.tar.gz
Various changes to regex diagnostics and testing
* Make ANYOF output from regprop easier to read by adding ][ in between the unicode representation and the "ascii" one * Make it possible to make tests in re_tests todo. * add a todo test for a complementary character class match that should fail (perl #60156) * Also add a comment explaining a previous commit (relating to perl #60344) p4raw-id: //depot/perl@34755
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 9bd5f0ec76..363e205589 100644
--- a/regexec.c
+++ b/regexec.c
@@ -4983,7 +4983,8 @@ NULL
do_ifmatch:
ST.me = scan;
ST.logical = logical;
- logical = 0;
+ logical = 0; /* XXX: reset state of logical once it has been saved into ST */
+
/* execute body of (?...A) */
PUSH_YES_STATE_GOTO(IFMATCH_A, NEXTOPER(NEXTOPER(scan)));
/* NOTREACHED */