diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-12 16:26:56 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:51:54 +0100 |
commit | 8162b70e63fb41df1eaf259c13d61d8b563cd7f5 (patch) | |
tree | 11c01a18a4ea042a9857efa20f0b0b120fb9c310 /ext/re | |
parent | 516e10a9956d11346cdddceee7203ef7e6181dc0 (diff) | |
download | perl-8162b70e63fb41df1eaf259c13d61d8b563cd7f5.tar.gz |
Don't use VOL internally, because "volatile" works just fine
However, we do preserve it outside PERL_CORE for the use of XS authors.
Diffstat (limited to 'ext/re')
-rw-r--r-- | ext/re/re.pm | 2 | ||||
-rw-r--r-- | ext/re/re.xs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/re/re.pm b/ext/re/re.pm index 81c632b6df..0b52e1d7d7 100644 --- a/ext/re/re.pm +++ b/ext/re/re.pm @@ -4,7 +4,7 @@ package re; use strict; use warnings; -our $VERSION = "0.35"; +our $VERSION = "0.36"; our @ISA = qw(Exporter); our @EXPORT_OK = ('regmust', qw(is_regexp regexp_pattern diff --git a/ext/re/re.xs b/ext/re/re.xs index c2064ffb91..497135a5da 100644 --- a/ext/re/re.xs +++ b/ext/re/re.xs @@ -18,7 +18,7 @@ START_EXTERN_C extern REGEXP* my_re_compile (pTHX_ SV * const pattern, const U32 pm_flags); extern REGEXP* my_re_op_compile (pTHX_ SV ** const patternp, int pat_count, - OP *expr, const regexp_engine* eng, REGEXP *VOL old_re, + OP *expr, const regexp_engine* eng, REGEXP *volatile old_re, bool *is_bare_re, U32 rx_flags, U32 pm_flags); extern I32 my_regexec (pTHX_ REGEXP * const prog, char* stringarg, char* strend, |