summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2012-04-21 20:25:33 +0100
committerDavid Mitchell <davem@iabyn.com>2012-06-13 13:32:52 +0100
commit76ac488f33062fb6944511be1ac932b9bbb66144 (patch)
treed1b41ef79fae93a262d1323b1b1c8da71987cce6 /regexp.h
parent7fb31b92fa6bf56dff7d4240b7051b9158f7df43 (diff)
downloadperl-76ac488f33062fb6944511be1ac932b9bbb66144.tar.gz
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.
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 1 insertions, 1 deletions
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;
/*