summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-05-16 05:13:53 -0500
committerNicholas Clark <nick@ccl4.org>2005-09-19 13:32:45 +0000
commit8c18bf38d65c7cf57c05803518e01859f9d3c5a1 (patch)
tree7300fc05b7af34e441eca65731c7d5793726a360 /scope.c
parent0996ba748c6bfa321942b505186c29f15639f742 (diff)
downloadperl-8c18bf38d65c7cf57c05803518e01859f9d3c5a1.tar.gz
Integrate:
[ 24489] Subject: [PATCH] consting-eleventy.patch: More consts, plus actual bug fix Message-ID: <20050516151353.GA25387@petdance.com> p4raw-link: @24489 on //depot/perl: a3b680e6b77dd7f88268fad8b1dbdf4f641dd836 p4raw-id: //depot/maint-5.8/perl@25487 p4raw-integrated: from //depot/perl@24489 'edit in' sv.h (@24422..) pod/perlapi.pod (@24431..) pp_hot.c regcomp.c regexec.c universal.c util.c (@24445..) embed.fnc hv.c (@24460..) sv.c (@24480..) 'ignore' proto.h (@24460..) 'merge in' t/run/fresh_perl.t (@24063..) pp.h (@24248..) XSUB.h (@24372..) perl.h (@24444..) av.c dump.c malloc.c mg.c numeric.c pp_ctl.c scope.c utf8.c (@24445..) toke.c (@24452..) embed.h (@24460..) perl.c (@24468..)
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index b2e8f37838..7a7805686b 100644
--- a/scope.c
+++ b/scope.c
@@ -98,7 +98,7 @@ Perl_new_stackinfo(pTHX_ I32 stitems, I32 cxitems)
I32
Perl_cxinc(pTHX)
{
- IV old_max = cxstack_max;
+ const IV old_max = cxstack_max;
cxstack_max = GROW(cxstack_max);
Renew(cxstack, cxstack_max + 1, PERL_CONTEXT); /* XXX should fix CXINC macro */
/* Without any kind of initialising deep enough recursion