This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: PL_in_eval purge
authorFather Chrysostomos <sprout@cpan.org>
Thu, 30 Aug 2012 20:34:14 +0000 (13:34 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 31 Aug 2012 01:18:11 +0000 (18:18 -0700)
commit5c49e90fd624f3ab1cdb1f1d8e4f0525d7881b99
treec3fe66b754bb5745decf8ee041822af834f81e3a
parent19bbc0d7f761c11d620948dac95143548cf2fa7b
toke.c: PL_in_eval purge

Many uses of PL_in_eval in toke.c are redundant.

PL_in_eval indicates not that we are parsing a string eval, but that
we are being called from an eval, whether stringy on not.  Even if
PL_in_eval were only for string eval, it would still not indicate that
we are parsing a string eval, because of eval 'require'.

This commit removes redundant uses of it (making things theoretically
slightly faster).
toke.c