diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-28 19:00:15 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-28 19:00:15 +0000 |
commit | 6a65c6a0721422f3dbac9c301f2d6e8b04b74975 (patch) | |
tree | 6469759b126fa667eb7491f936b81092b37f5f2b /toke.c | |
parent | b11c3c9f9d8cb7f2e586a0cb99a9b1ca17f1b55c (diff) | |
download | perl-6a65c6a0721422f3dbac9c301f2d6e8b04b74975.tar.gz |
allow final period in a file (not followed by a newline) to
terminate format spec
p4raw-id: //depot/perl@2369
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6148,7 +6148,7 @@ scan_formline(register char *s) #else for (t = s+1;*t == ' ' || *t == '\t' || *t == '\r'; t++) ; #endif - if (*t == '\n') + if (*t == '\n' || t == PL_bufend) break; } if (PL_in_eval && !PL_rsfp) { |