From 4d5e5e004ff6a117972995779fc75aaea42a3d4c Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 20 Jul 2013 13:21:14 -0600 Subject: [PATCH] regcomp.c: Fix #define cl_init_zero should not be defined as S_cl_init, just 'cl_init'. The S_ prefix is wrong should cl_init be changed to have a pTHX_. --- regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regcomp.c b/regcomp.c index c7b9536..783349e 100644 --- a/regcomp.c +++ b/regcomp.c @@ -848,7 +848,7 @@ S_cl_init(const RExC_state_t *pRExC_state, struct regnode_charclass_class *cl) } /* These two functions currently do the exact same thing */ -#define cl_init_zero S_cl_init +#define cl_init_zero cl_init /* 'AND' a given class with another one. Can create false positives. 'cl' * should not be inverted. 'and_with->flags & ANYOF_CLASS' should be 0 if -- 1.8.3.1