summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorGraham Barr <gbarr@pobox.com>1998-06-19 06:31:04 -0500
committerGurusamy Sarathy <gsar@cpan.org>1998-06-21 06:51:38 +0000
commit4318d5a0158916acc059aa8e6af84037cb7296b9 (patch)
treeeed01f63911055a71417415226fec5ef7fb4d955 /gv.c
parent0f4eea8fa1779e08575278392ed398ffeda6dcd2 (diff)
downloadperl-4318d5a0158916acc059aa8e6af84037cb7296b9.tar.gz
applied patch, modified logic to avoid reentering lexer at compile-time
Message-ID: <19980619113104.S9711@asic.sc.ti.com> Subject: Re: [PATCH perl5.004_67] Add Errno in ext/ p4raw-id: //depot/perl@1173
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gv.c b/gv.c
index 561db93558..0a363704cd 100644
--- a/gv.c
+++ b/gv.c
@@ -711,9 +711,9 @@ gv_fetchpv(char *nambeg, I32 add, I32 sv_type)
goto magicalize;
case '!':
- if(len > 1)
+ if (len > 1)
break;
- if(sv_type > SVt_PV) {
+ if (sv_type > SVt_PV && curcop != &compiling) {
HV* stash = gv_stashpvn("Errno",5,FALSE);
if(!stash || !(gv_fetchmethod(stash, "TIEHASH"))) {
dSP;