[project @ 2001-01-20 21:02:19 by panne]
authorpanne <unknown>
Sat, 20 Jan 2001 21:02:19 +0000 (21:02 +0000)
committerpanne <unknown>
Sat, 20 Jan 2001 21:02:19 +0000 (21:02 +0000)
Remove bogus case alternative

ghc/compiler/rename/RnHiFiles.lhs

index 9742091..6664fe6 100644 (file)
@@ -529,11 +529,6 @@ readIface file_path
     case parseIface contents init_parser_state of
        POk _ iface          -> returnRn (Right iface)
        PFailed err          -> bale_out err
-       parse_result         -> bale_out empty
-               -- This last case can happen if the interface file is (say) empty
-               -- in which case the parser thinks it looks like an IdInfo or
-               -- something like that.  Just an artefact of the fact that the
-               -- parser is used for several purposes at once.
     }
   where
     init_parser_state = PState{ bol = 0#, atbol = 1#,