From 76ac488f33062fb6944511be1ac932b9bbb66144 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Sat, 21 Apr 2012 20:25:33 +0100 Subject: make is_bare_re bool. not int in re_op_compile This flag pointer only stores truth, so make it a pointer to a bool rather than to an int. --- regexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regexp.h') diff --git a/regexp.h b/regexp.h index ff39f4346c..18ce82a7b5 100644 --- a/regexp.h +++ b/regexp.h @@ -164,7 +164,7 @@ typedef struct regexp_engine { REGEXP* (*op_comp) (pTHX_ SV ** const patternp, int pat_count, OP *expr, const struct regexp_engine* eng, REGEXP *VOL old_re, - int *is_bare_re, U32 orig_rx_flags, U32 pm_flags); + bool *is_bare_re, U32 orig_rx_flags, U32 pm_flags); } regexp_engine; /* -- cgit v1.2.1