X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Pretty.hs;h=4136adea2ab9b9450046351c96b5cac9906da2eb;hb=a5334443f2d490ae6ada3f332eb04b508ff81648;hp=c4556a81b90980dcc8bcfd97457c901fb0568e58;hpb=495e75489457be4ea5bfa9692e2b8736047a41ae;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Pretty.hs b/Pretty.hs index c4556a8..4136ade 100644 --- a/Pretty.hs +++ b/Pretty.hs @@ -51,7 +51,7 @@ instance Pretty VHDLSession where $+$ text "NameCount: " $$ nest 15 (int nameCount) $+$ text "Functions: " $$ nest 15 (vcat (map ppfunc (Map.toList funcs))) where - ppfunc (hsfunc, (flatfunc)) = + ppfunc (hsfunc, (FuncData flatfunc)) = pPrint hsfunc $+$ (text "Flattened: " $$ nest 15 (pPrint flatfunc)) modname = showSDoc $ Module.pprModule (HscTypes.cm_module mod)