diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-01 04:31:09 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-01 04:31:09 +0000 |
commit | d194fe61f689c3f3b6f024f88d67f0262ed84a53 (patch) | |
tree | 51ebc6bfb3b862b6e4510c78f8082db18e3904d7 /toke.c | |
parent | 362d283a52a64f34b327787af60074b1bc15a3a6 (diff) | |
download | perl-d194fe61f689c3f3b6f024f88d67f0262ed84a53.tar.gz |
improved diagnostic on syntax errors at EOL
p4raw-id: //depot/perl@2744
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -199,6 +199,8 @@ no_op(char *what, char *s) t - PL_oldoldbufptr, PL_oldoldbufptr); } + else if (s <= oldbp) + warn("\t(Missing operator before end of line?)\n"); else warn("\t(Missing operator before %.*s?)\n", s - oldbp, oldbp); PL_bufptr = oldbp; |