diff options
author | David Mitchell <davem@iabyn.com> | 2012-04-21 20:25:33 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-06-13 13:32:52 +0100 |
commit | 76ac488f33062fb6944511be1ac932b9bbb66144 (patch) | |
tree | d1b41ef79fae93a262d1323b1b1c8da71987cce6 /regexp.h | |
parent | 7fb31b92fa6bf56dff7d4240b7051b9158f7df43 (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; /* |