summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-10-14 03:46:24 +0000
committerSteve Peters <steve@fisharerojo.org>2005-10-14 03:46:24 +0000
commit0d46e09a6299ee39ec954683a582d25f5ea086c7 (patch)
tree308ac72e3d80a80d27e1d0b18bbbaca691de50f9 /regexec.c
parent6d24ed100318c05343c5524872a98bee8e2fcca4 (diff)
downloadperl-0d46e09a6299ee39ec954683a582d25f5ea086c7.tar.gz
gcc complains when it sees variables declared
const register ... switched them all to register const ... p4raw-id: //depot/perl@25757
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index d19b82ea5a..e058216ce6 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2407,7 +2407,7 @@ S_regmatch(pTHX_ regnode *prog)
#if 0
I32 firstcp = PL_savestack_ix;
#endif
- const register bool do_utf8 = PL_reg_match_utf8;
+ register const bool do_utf8 = PL_reg_match_utf8;
#ifdef DEBUGGING
SV *dsv0 = PERL_DEBUG_PAD_ZERO(0);
SV *dsv1 = PERL_DEBUG_PAD_ZERO(1);