diff options
author | ☢ ℕicolas ℝ <nicolas@atoomic.org> | 2020-08-04 14:03:00 -0600 |
---|---|---|
committer | ☢ ℕicolas ℝ <nicolas@atoomic.org> | 2020-08-04 14:03:01 -0600 |
commit | 92322c4fbb54efc52dc5328e5faa4cfc1784f05e (patch) | |
tree | 7da1ec98470dff36da6a99f027b57df1270762ef /toke.c | |
parent | cbc2e172638d5b0ae0822c0291ac91c2bcd3f137 (diff) | |
download | perl-92322c4fbb54efc52dc5328e5faa4cfc1784f05e.tar.gz |
Use PERL_REVISION in toke.c for -E switch
This allows to use the current features bundle
defined by the current version of Perl.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8713,7 +8713,7 @@ yyl_try(pTHX_ char *s) } if (PL_minus_E) sv_catpvs(PL_linestr, - "use feature ':5." STRINGIFY(PERL_VERSION) "';"); + "use feature ':" STRINGIFY(PERL_REVISION) "." STRINGIFY(PERL_VERSION) "';"); if (PL_minus_n || PL_minus_p) { sv_catpvs(PL_linestr, "LINE: while (<>) {"/*}*/); if (PL_minus_l) |