Improve error message.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 3 Feb 2009 10:19:18 +0000 (11:19 +0100)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 3 Feb 2009 10:19:18 +0000 (11:19 +0100)
Translator.hs

index 363ffe2215aa7c47669157428acbf711bb48c14d..77394e41c65697d473f501857a26caabc29e03a7 100644 (file)
@@ -446,7 +446,7 @@ createSignalAssignments (Single (src, _)) Unused =
   []
 
 createSignalAssignments dst src =
-  error $ "Non matching source and destination: " ++ show dst ++ "\nand\n" ++  show src
+  error $ "Non matching source and destination: " ++ show dst ++ " <= " ++  show src
 
 type SignalNameMap = HsValueMap (AST.VHDLId, AST.TypeMark)