[project @ 2002-07-11 06:52:23 by ken]
[ghc-hetmet.git] / 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;
     }
 }