This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix obsolete mention if is_sig in S_pending_ident comment
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 22 Jul 2019 16:33:32 +0000 (17:33 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 22 Jul 2019 16:33:32 +0000 (17:33 +0100)
Commit 49fb862041f1f74fafbc91afa553624c43078261 replaced the parameter
with a pseudo-keyword value KEY_sigvar in PL_in_my, but forgot to
update the comment.

toke.c

diff --git a/toke.c b/toke.c
index 91c79a1..2f794d6 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -9013,7 +9013,7 @@ Perl_yylex(pTHX)
 
   Looks up an identifier in the pad or in a package
 
-  is_sig indicates that this is a subroutine signature variable
+  PL_in_my == KEY_sigvar indicates that this is a subroutine signature variable
   rather than a plain pad var.
 
   Returns: