diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-08-29 08:36:40 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-08-30 18:18:07 -0700 |
commit | 956be2d47c8be1238119303e892c672d5de736ad (patch) | |
tree | ca72f30bca79308a15f2786635da0fbd7aafdb3d /toke.c | |
parent | f68f7dc11e746ce69ed4eb3843aa2002a9487c20 (diff) | |
download | perl-956be2d47c8be1238119303e892c672d5de736ad.tar.gz |
Avoid uninit warning for qq|${\<<FOO}|
If a here-doc occurs inside a single-line quote-like operator inside
a file (as opposed to an eval), it produces an uninitialized warning.
The goto I added in commit 99bd9d90 wentto the wrong place.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9751,8 +9751,8 @@ S_scan_heredoc(pTHX_ register char *s) s = olds; } else + streaming: sv_setpvs(tmpstr,""); /* avoid "uninitialized" warning */ - streaming: term = PL_tokenbuf[1]; len--; while (s >= PL_bufend) { /* multiple line string? */ |