toke.c: S_scan_heredoc: prune dead code
authorFather Chrysostomos <sprout@cpan.org>
Wed, 29 Aug 2012 05:37:10 +0000 (22:37 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 31 Aug 2012 01:18:07 +0000 (18:18 -0700)
commitf68f7dc11e746ce69ed4eb3843aa2002a9487c20
treeffd2ec37a2ad6aac75de16c37cf2b70d98b5af90
parent9aa00c80e0d30d8ecc84072be5c253a368aa5653
toke.c: S_scan_heredoc: prune dead code

This incorrect code (using a pointer after finding it to be null)
is the result of the refactoring in 60f40a3895.  It was trying to
account for a string eval with no line break in it.  But that can’t
happen as of 11076590 (if it could it would crash).

So remove it and add an assertion, along with a comment explaining the
assertion.
toke.c