We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4231005 commit 1ce5f5eCopy full SHA for 1ce5f5e
lib/PDL/PP.pm
@@ -662,6 +662,7 @@ sub _pp_line_number_file {
662
confess "pp_line_numbers called with undef" if !defined $string;
663
# The line needs to be incremented by one for the bookkeeping to work
664
$line++;
665
+ $filename = 'lib/PDL/PP.pm' if $filename eq __FILE__;
666
$filename =~ s/\\/\\\\/g; # Escape backslashes
667
my @to_return = "\nPDL_LINENO_START $line \"$filename\"\n";
668
# Look for broadcastloops and loops and add # line directives
0 commit comments