diff options
author | Karl Williamson <khw@cpan.org> | 2014-09-17 12:16:12 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-09-29 11:07:40 -0600 |
commit | 13f27704e67ca16eefc14851c1cbf02be39509c6 (patch) | |
tree | 0f14fd837ee03d895c376f464d1e9a37dd46993e /regnodes.h | |
parent | 81a9a93bd8cf15be6db1942f8e44c590ecbace15 (diff) | |
download | perl-13f27704e67ca16eefc14851c1cbf02be39509c6.tar.gz |
Up regex flags limit for (??{})
Previously the regex pattern compilation flags needed for this construct
would fit into an 8-bit byte. This conveniently fits into the flags
structure element of a regnode. There are changes coming that require
more than 8 bits, so in preparation, this commit adds an argument to the
node that implements (??{}) (31-bits usable for flags), and moves the
storage to that.
Diffstat (limited to 'regnodes.h')
-rw-r--r-- | regnodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regnodes.h b/regnodes.h index 3feb312f93..73b81a1c2f 100644 --- a/regnodes.h +++ b/regnodes.h @@ -357,7 +357,7 @@ static const U8 regarglen[] = { EXTRA_SIZE(struct regnode_1), /* SUSPEND */ EXTRA_SIZE(struct regnode_1), /* IFTHEN */ EXTRA_SIZE(struct regnode_1), /* GROUPP */ - EXTRA_SIZE(struct regnode_1), /* EVAL */ + EXTRA_SIZE(struct regnode_2L), /* EVAL */ 0, /* MINMOD */ 0, /* LOGICAL */ EXTRA_SIZE(struct regnode_1), /* RENUM */ |