From 56c77af5b591b638d0def0ffca386b8efaf823c4 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 14 Jan 1999 19:28:43 +0000 Subject: [PATCH] [project @ 1999-01-14 19:28:43 by sof] Tweaked to cope with Haskell98's change to what constitutes a -- comment --- ghc/driver/ghc-iface.lprl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/driver/ghc-iface.lprl b/ghc/driver/ghc-iface.lprl index 7bcd3c6..1666b78 100644 --- a/ghc/driver/ghc-iface.lprl +++ b/ghc/driver/ghc-iface.lprl @@ -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 -- 1.7.10.4