[project @ 2002-06-21 12:53:03 by simonmar]
authorsimonmar <unknown>
Fri, 21 Jun 2002 12:53:03 +0000 (12:53 +0000)
committersimonmar <unknown>
Fri, 21 Jun 2002 12:53:03 +0000 (12:53 +0000)
bugfix

ghc/compiler/count_lines

index 3ede63d..8c7905c 100644 (file)
@@ -38,7 +38,7 @@ foreach $f ( @ARGV ) {
     } else {
        print STDERR "not counted in a directory: $f\n";
        $ModCount{$f} += $cnt;
-       $ModComments{$mod} += $comments;
+       $ModComments{$f} += $comments;
     }
 }