summaryrefslogtreecommitdiff
path: root/perly.act
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-08 08:04:53 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-08 08:04:53 +0000
commitfd367867636c3c5c363c15be0f203f36e4df99b0 (patch)
treeb5d36d0f4c58d0a6ad8255d4ea5715c55f420931 /perly.act
parentc053b435c0eae6a81e9a54598b068d7be84d74cc (diff)
downloadperl-fd367867636c3c5c363c15be0f203f36e4df99b0.tar.gz
More SvPV consting
p4raw-id: //depot/perl@24746
Diffstat (limited to 'perly.act')
-rw-r--r--perly.act2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.act b/perly.act
index 877fa07166..0011ecfc7c 100644
--- a/perly.act
+++ b/perly.act
@@ -329,7 +329,7 @@ case 2:
case 61:
#line 341 "perly.y"
- { STRLEN n_a; char *name = SvPV(((SVOP*)yyvsp[0].opval)->op_sv,n_a);
+ { STRLEN n_a; const char *name = SvPV_const(((SVOP*)yyvsp[0].opval)->op_sv,n_a);
if (strEQ(name, "BEGIN") || strEQ(name, "END")
|| strEQ(name, "INIT") || strEQ(name, "CHECK"))
CvSPECIAL_on(PL_compcv);