This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
parts/apicheck.pl: Handle identifier containing 'const'
authorKarl Williamson <khw@cpan.org>
Tue, 25 Jun 2019 17:35:51 +0000 (11:35 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:39:29 +0000 (16:39 -0600)
commitd0cf06bd4ff2a165577121eb4fc2ab8b648b9926
tree5d77bb313208305e95ba8af3b795c9b7f126f273
parentfbd5db695a4718816215c56de9b035af6cdd5a6a
parts/apicheck.pl: Handle identifier containing 'const'

While reading the code, I realized that if an identifier name contained
the substring 'const' this wouldn't work.  It's a simple matter to add
\b to prevent this unlikely scenario.

(cherry picked from commit eaa9c034d31c5a167bf85b6888fed5201bf0667f)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/parts/apicheck.pl