From 45f24c7fb08b66f4160e94216599be6594f02416 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 15 Jul 2012 01:31:19 +0100 Subject: Follow changes in GHC --- src/Haddock/Backends/LaTeX.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Haddock') diff --git a/src/Haddock/Backends/LaTeX.hs b/src/Haddock/Backends/LaTeX.hs index f03801bb..3a7cdd82 100644 --- a/src/Haddock/Backends/LaTeX.hs +++ b/src/Haddock/Backends/LaTeX.hs @@ -24,7 +24,7 @@ import GHC import OccName import Name ( nameOccName ) import RdrName ( rdrNameOcc ) -import FastString ( unpackFS, unpackLitString ) +import FastString ( unpackFS, unpackLitString, zString ) import qualified Data.Map as Map import System.Directory @@ -170,6 +170,7 @@ string_txt :: TextDetails -> String -> String string_txt (Chr c) s = c:s string_txt (Str s1) s2 = s1 ++ s2 string_txt (PStr s1) s2 = unpackFS s1 ++ s2 +string_txt (ZStr s1) s2 = zString s1 ++ s2 string_txt (LStr s1 _) s2 = unpackLitString s1 ++ s2 -- cgit v1.2.3