summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-12 16:26:56 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:51:54 +0100
commit8162b70e63fb41df1eaf259c13d61d8b563cd7f5 (patch)
tree11c01a18a4ea042a9857efa20f0b0b120fb9c310 /regcomp.c
parent516e10a9956d11346cdddceee7203ef7e6181dc0 (diff)
downloadperl-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 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index cc0ff96064..18e87e156c 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -14874,9 +14874,9 @@ S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV** return_invlist,
'stack' of where the undealt-with left
parens would be if they were actually
put there */
- /* The 'VOL' (expanding to 'volatile') is a workaround for an optimiser bug
+ /* The 'volatile' is a workaround for an optimiser bug
* in Solaris Studio 12.3. See RT #127455 */
- VOL IV fence = 0; /* Position of where most recent undealt-
+ volatile IV fence = 0; /* Position of where most recent undealt-
with left paren in stack is; -1 if none.
*/
STRLEN len; /* Temporary */