[project @ 1999-01-14 19:28:43 by sof]
authorsof <unknown>
Thu, 14 Jan 1999 19:28:43 +0000 (19:28 +0000)
committersof <unknown>
Thu, 14 Jan 1999 19:28:43 +0000 (19:28 +0000)
Tweaked to cope with Haskell98's change to what constitutes a -- comment

ghc/driver/ghc-iface.lprl

index 7bcd3c6..1666b78 100644 (file)
@@ -178,7 +178,7 @@ sub readHiFile {
        } elsif ( /^instance / ) {
            $Stuff{"$mod:instances"} .= $_;
 
-       } elsif ( /^--.*/ ) { # silently ignore comment lines.
+       } elsif ( /^-[-]+ .*/ ) { # silently ignore comment lines.
            ;
        } else {  # We're in a declaration