summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1997-12-01 02:54:29 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1997-12-01 02:54:29 +0000
commit22239a37ce131e4f5341aee571f08aced283e16a (patch)
tree8f7f8e19354cc72b2f70b0f4bee40968a002c92b /pp_hot.c
parent36c15d3fd87bb94724027176c49a6c0afbc14dc9 (diff)
downloadperl-22239a37ce131e4f5341aee571f08aced283e16a.tar.gz
Create a struct for all perls globals (as an option)
Mainly for Mingw32 which cannot import data. Now only Opcode tests fail (op_desc/op_name not handled yet stuff) p4raw-id: //depot/ansiperl@341
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 46715aef9e..5dc72eaf36 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1840,7 +1840,7 @@ PP(pp_entersub)
if (!CvROOT(cv) && !CvXSUB(cv)) {
GV* autogv;
- SV* subname;
+ SV* sub_name;
/* anonymous or undef'd function leaves us no recourse */
if (CvANON(cv) || !(gv = CvGV(cv)))
@@ -1858,9 +1858,9 @@ PP(pp_entersub)
goto retry;
}
/* sorry */
- subname = sv_newmortal();
- gv_efullname3(subname, gv, Nullch);
- DIE("Undefined subroutine &%s called", SvPVX(subname));
+ sub_name = sv_newmortal();
+ gv_efullname3(sub_name, gv, Nullch);
+ DIE("Undefined subroutine &%s called", SvPVX(sub_name));
}
gimme = GIMME_V;
@@ -2343,3 +2343,4 @@ PP(pp_method)
SETs(isGV(gv) ? (SV*)GvCV(gv) : (SV*)gv);
RETURN;
}
+