This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: Quit now if error at end of input
authorKarl Williamson <khw@cpan.org>
Tue, 14 Feb 2017 02:18:38 +0000 (19:18 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 14 Feb 2017 04:24:11 +0000 (21:24 -0700)
commite90756be0bd7bbe5f7193c0e9e856c56ae09c085
treef489fa4f0ca487907628b4fbf6e51b49b9fc731a
parent4c3e84f3090c9cc68d352a2c80a95c91d25a8fc7
toke.c: Quit now if error at end of input

In these two cases, we know we are at the end of the input, and that we
have an error.  There is no need to try to patch things up so we can
continue to parse looking for other errors; there's nothing left to
parse.  So skip having to deal with patching up.
toke.c