diff options
author | Yves Orton <demerphq@gmail.com> | 2016-03-14 19:58:33 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2016-03-15 00:30:13 +0100 |
commit | d1c49ad5e2e1b02dbc27f05c9ecf435fae326293 (patch) | |
tree | 31037e7412e808c629bd07784dc1e1c6b221f490 /regexp.h | |
parent | 6aeaca273d90ffa696c08178f9f9ccd259b44760 (diff) | |
download | perl-d1c49ad5e2e1b02dbc27f05c9ecf435fae326293.tar.gz |
add consistency with other union members
In most cases the curlyx member is the first thing after the yes state
member, but eval was reversed. While debugging perl #127705 I switched
them to see what would happen, which changed the bug, and ultimately
revealed the cause of the problem. So I am going to leave them in the
"consistent" order.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -748,8 +748,8 @@ typedef struct regmatch_state { struct { /* this first element must match u.yes */ struct regmatch_state *prev_yes_state; - struct regmatch_state *prev_eval; struct regmatch_state *prev_curlyx; + struct regmatch_state *prev_eval; REGEXP *prev_rex; CHECKPOINT cp; /* remember current savestack indexes */ CHECKPOINT lastcp; |