summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>1997-11-22 14:45:23 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-03-03 02:57:33 +0000
commita2c066523a8ce75a281ac073b929d59e1a2fbb5f (patch)
tree27d2f4087cbb51f834a7e4fb8bbdf3940ede9c06 /toke.c
parent02aa26ce6162a9d065cb15d5d527e880d9b325cd (diff)
downloadperl-a2c066523a8ce75a281ac073b929d59e1a2fbb5f.tar.gz
[win32] merge another maintpatch to toke.c
Message-Id: <199711221445.OAA14153@crypt.compulink.co.uk> Subject: Re: [PERL] Here-doc in s///e (was: Bug) p4raw-id: //depot/win32/perl@629
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index 3f90f74720..4fee674121 100644
--- a/toke.c
+++ b/toke.c
@@ -1356,7 +1356,6 @@ filter_read(int idx, SV *buf_sv, int maxlen)
return (*funcp)(idx, buf_sv, maxlen);
}
-
static char *
filter_gets(register SV *sv, register PerlIO *fp, STRLEN append)
{
@@ -4998,7 +4997,7 @@ scan_heredoc(register char *s)
register char *d;
register char *e;
char *peek;
- int outer = (rsfp && !lex_inwhat);
+ int outer = (rsfp && !(lex_inwhat == OP_SCALAR));
s += 2;
d = tokenbuf;