diff options
author | Graham Barr <gbarr@pobox.com> | 1998-06-19 06:31:04 -0500 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-21 06:51:38 +0000 |
commit | 4318d5a0158916acc059aa8e6af84037cb7296b9 (patch) | |
tree | eed01f63911055a71417415226fec5ef7fb4d955 /gv.c | |
parent | 0f4eea8fa1779e08575278392ed398ffeda6dcd2 (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |