From: sof Date: Thu, 14 Jan 1999 19:28:43 +0000 (+0000) Subject: [project @ 1999-01-14 19:28:43 by sof] X-Git-Tag: Approx_2487_patches~102 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=56c77af5b591b638d0def0ffca386b8efaf823c4;p=ghc-hetmet.git [project @ 1999-01-14 19:28:43 by sof] Tweaked to cope with Haskell98's change to what constitutes a -- comment --- 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