[Perl/perl5] 38b2d8: ExtUtils::ParseXS: make filename hack work with li...

[email protected] (Lukas Mai via perl5-changes)
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 38b2d84c44b156fdc2d08029456123f1115c4dab
      https://github.com/Perl/perl5/commit/38b2d84c44b156fdc2d08029456123f1115c4dab
  Author: Lukas Mai <[email protected]>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
    M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Node.pm
    M dist/ExtUtils-ParseXS/t/003-parse-file-scope-keywords.t

  Log Message:
  -----------
  ExtUtils::ParseXS: make filename hack work with linenumbers => 0

We now always pipe our output through ExtUtils::ParseXS::CountLines (so
we can always get the current output line number), but this should make
no difference to normal output, which checks 'config_WantLineNumbers'
before actually switching to a different file with a custom '#line'
directive. Which is to say, the documented behavior of 'linenumbers =>
0' should remain unchanged.

Follow-up to PR #24651.



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.