diff options
author | David Mitchell <davem@iabyn.com> | 2012-12-25 18:24:50 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-12-25 18:24:50 +0000 |
commit | 39819bd9daad8177c22032658cbd5c354aa2b92f (patch) | |
tree | 66e8b337898a4dab878eb0e13a131bccc7e38fd7 /regexp.h | |
parent | 984e6dd18b2c93d4a6ae228bb9d2d98aadf7ca6e (diff) | |
download | perl-39819bd9daad8177c22032658cbd5c354aa2b92f.tar.gz |
eliminate RF_warned flag from PL_reg_flags
This global flag indicates whether the currently executing regex has
issued a recursion limit warning yet.
Replace it with a boolean var local to the regmatch_info struct.
This is a second step to eliminating PL_reg_flags.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -576,6 +576,7 @@ typedef struct { char *ganch; char *cutpoint; bool is_utf8_pat; + bool warned; /* we have issued a recursion warning; no need for more */ } regmatch_info; |