X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Pretty.hs;h=ee4b3be78ec7c1facf6ea2402e753b943cf36f16;hb=790cb87bc728be4140ea7cf0d5444cc4cf96d0dc;hp=21a3795ff6b71986f2d5bc897a2c844af16c8ae8;hpb=40ece4d80b50d59c781b9bc157f5379c3a3bb14a;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Pretty.hs b/Pretty.hs index 21a3795..ee4b3be 100644 --- a/Pretty.hs +++ b/Pretty.hs @@ -43,7 +43,8 @@ instance Pretty id => Pretty (CondDef id) where pPrint _ = text "TODO" instance Pretty id => Pretty (Signal id) where - pPrint (Signal id) = pPrint id + pPrint (Signal id Nothing) = pPrint id + pPrint (Signal id (Just name)) = pPrint id <> text ":" <> text name instance Pretty VHDLSession where pPrint (VHDLSession mod nameCount funcs) =