projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9945a3
)
Add a base case to splitTupleConstructorArgs.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Thu, 29 Jan 2009 15:49:05 +0000
(16:49 +0100)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Thu, 29 Jan 2009 15:49:05 +0000
(16:49 +0100)
Apparently we've never tried to find the end of the returned list before :-)
Translator.hs
patch
|
blob
|
history
diff --git
a/Translator.hs
b/Translator.hs
index de091dc2f74c1e537b19e5fb4a131ffa045eeb02..12393e8891f175dec71bedf6e7266a998f534a5b 100644
(file)
--- a/
Translator.hs
+++ b/
Translator.hs
@@
-374,6
+374,8
@@
splitTupleConstructorArgs (e:es) =
where
(tys, vals) = splitTupleConstructorArgs es
+splitTupleConstructorArgs [] = ([], [])
+
mapOutputPorts ::
SignalNameMap AST.VHDLId -- The output portnames of the component
-> SignalNameMap AST.VHDLId -- The output portnames and/or signals to map these to