changeset 282:b72e0788d63e misc

Rename variable.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Mar 2015 04:50:37 +0200
parents 2e8fefca6594
children e02d4613d93f
files materials/parsematerial.pl
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/materials/parsematerial.pl	Mon Mar 09 04:45:33 2015 +0200
+++ b/materials/parsematerial.pl	Mon Mar 09 04:50:37 2015 +0200
@@ -374,10 +374,10 @@
 ###
 my %data = ();
 my $name = "";
-my $linenum = 0;
+my $nline = 0;
 while (defined($line = <STDIN>))
 {
-  $linenum++;
+  $nline++;
   chomp;
   if ($line =~ /MATERIAL STATS \(([a-z ]+)\)\:/)
   {
@@ -461,7 +461,7 @@
   }
   else
   {
-    print STDERR "Unparsed line #".$linenum.": ".$line."\n";
+    print STDERR "Unparsed line #".$nline.": ".$line."\n";
   }
 }