diff options
author | Leon Timmermans <fawaka@gmail.com> | 2016-07-17 16:54:19 +0200 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2016-07-17 21:46:19 +0100 |
commit | 5296cf986b8f91ec665736263bd5b9b819c07059 (patch) | |
tree | 10443f58e99807b5b7280749cf5882769adaf0cc /toke.c | |
parent | 4ba46fe91f12bc0d66b74d85d91cb1889089cc29 (diff) | |
download | perl-5296cf986b8f91ec665736263bd5b9b819c07059.tar.gz |
Revert "Respect hashbangs containing perl6"
This reverts commit d9fc04eebe29b8cf5f6f6bf31373b202eafa44d6.
As discussed in
http://www.nntp.perl.org/group/perl.perl5.porters/2016/05/msg236423.html,
the current perl6-shebang code has rather sharp edge-cases. Hence a revert
until we come up with a better solution seems wise.
(cherry picked from commit f691e4455dd520eff11e7f070a9b034b0fa5ca1c)
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -5075,8 +5075,6 @@ Perl_yylex(pTHX) d = instr(s,"perl -"); if (!d) { d = instr(s,"perl"); - if (d && d[4] == '6') - d = NULL; #if defined(DOSISH) /* avoid getting into infinite loops when shebang * line contains "Perl" rather than "perl" */ |