diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-03-08 22:56:02 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-03-08 23:22:19 -0700 |
commit | 1411dba431b74256819ba8c07e7a61e2aa0b1742 (patch) | |
tree | 064fabe7cbcf958cfb18777d897eb613da0ca2d0 /regcomp.c | |
parent | c6b765375213e9d6dce25829a367fe4ef37da1a4 (diff) | |
download | perl-1411dba431b74256819ba8c07e7a61e2aa0b1742.tar.gz |
PATCH: [perl #85528], add initialization
Commit 137165a601b852a9679983cdfe8d35be29f0939c omitted
required initialization for the synthetic start class. Adding it
exposed other bugs in cl_and() and cl_or(), which have been fixed
by a previous commit.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -756,6 +756,7 @@ S_cl_init(const RExC_state_t *pRExC_state, struct regnode_charclass_class *cl) Zero(cl, 1, struct regnode_charclass_class); cl->type = ANYOF; cl_anything(pRExC_state, cl); + ARG_SET(cl, ANYOF_NONBITMAP_EMPTY); } /* These two functions currently do the exact same thing */ |