This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
rationalise sayYES and sayNO code in regmatch()
[perl5.git] / regexp.h
index 99973c1..934580e 100644 (file)
--- a/regexp.h
+++ b/regexp.h
@@ -258,6 +258,7 @@ typedef struct regmatch_state {
        } eval;
 
        struct {
+           struct regmatch_state *prev_yes_state;
            CHECKPOINT cp;      /* remember current savestack indexes */
            struct regmatch_state *outercc; /* outer CURLYX state if any */
 
@@ -272,6 +273,7 @@ typedef struct regmatch_state {
        } curlyx;
 
        struct {
+           struct regmatch_state *prev_yes_state;
            CHECKPOINT cp;      /* remember current savestack indexes */
            CHECKPOINT lastcp;
            struct regmatch_state *savecc;