projects
/
matthijs
/
master-project
/
cλash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make application names unique.
[matthijs/master-project/cλash.git]
/
Pretty.hs
diff --git
a/Pretty.hs
b/Pretty.hs
index 78876b30127b835e314dfcf4493edf77d69d6d01..2bf57f761541e3280bec0a32175c78a12d81b344 100644
(file)
--- a/
Pretty.hs
+++ b/
Pretty.hs
@@
-74,8
+74,9
@@
instance Pretty FuncData where
pparch (Just _) = text "VHDL architecture present"
instance Pretty Entity where
pparch (Just _) = text "VHDL architecture present"
instance Pretty Entity where
- pPrint (Entity args res decl) =
- text "Args: " $$ nest 10 (pPrint args)
+ pPrint (Entity id args res decl) =
+ text "Entity id: " $$ nest 10 (pPrint id)
+ $+$ text "Args: " $$ nest 10 (pPrint args)
$+$ text "Result: " $$ nest 10 (pPrint res)
$+$ ppdecl decl
where
$+$ text "Result: " $$ nest 10 (pPrint res)
$+$ ppdecl decl
where