]> git.donarmstrong.com Git - lilypond.git/commitdiff
texi2html: Don't use $_, which interferes with texi2html
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 10 Aug 2008 19:10:09 +0000 (21:10 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 10 Aug 2008 19:10:56 +0000 (21:10 +0200)
lilypond-texi2html.init

index 5d31b054b699efbefed164b702e0d6ff351a12d1..5c3589c13cde02c58312783b16e852e472d8ba7a 100644 (file)
@@ -158,14 +158,15 @@ sub load_map_file ($)
     my $node_map = ();
 
     if (open(XREFFILE, $mapfile)) {
-        while ( <XREFFILE> ) {
+        my $line;
+        while ( $line = <XREFFILE> ) {
             # parse the tab-separated entries and insert them into the map:
             chomp($_);
-            my @entries = split(/\t/, $_);
+            my @entries = split(/\t/, $line);
             if (scalar (@entries) == 3) {
               $node_map->{$entries[0]} = [$entries[1], $entries[2]];
             } else {
-              print STDERR "Invalid entry in the node file $mapfile: $_\n";
+              print STDERR "Invalid entry in the node file $mapfile: $line\n";
             }
         }
         close (XREFFILE);