cvs commit: fptools/ghc/compiler/main Main.hs

Sigbjorn Finne sof@glass.cse.ogi.edu
Fri, 3 Aug 2001 13:40:43 -0700


sof         2001/08/03 13:40:43 PDT

  Modified files:
    ghc/compiler/main    Main.hs 
  Log:
  - have the toplevel exception handler propagate ExitExceptions, don't flag
    them as panics. i.e., when the dynamic exception handler catches a
    PhaseFailed{}, it throws an ExitException. The outer/topmost handler
    catches this (on a Win32 box, but not my other (Linux) box for some
    reason...), and maps it to a panic, which is not what you want.
  - introduced the old 'Compilation had errors' message in case of a
    PhaseFailed{}; feel free to nuke that one (again).
  
  Revision  Changes    Path
  1.82      +8 -4      fptools/ghc/compiler/main/Main.hs