Style hack to pass a test.

This commit is contained in:
Kazu Yamamoto 2013-03-13 11:07:43 +09:00
parent 9226c5e741
commit 85ab14975d

View File

@ -67,7 +67,7 @@ ppMsg spn sev dflag msg = fromMaybe def $ do
---------------------------------------------------------------- ----------------------------------------------------------------
showMsg :: DynFlags -> SDoc -> String showMsg :: DynFlags -> SDoc -> String
showMsg dflag sdoc = map toNull $ showQualifiedPage dflag sdoc showMsg dflag sdoc = map toNull $ showUnqualifiedPage dflag sdoc
where where
toNull '\n' = '\0' toNull '\n' = '\0'
toNull x = x toNull x = x