Move type registration out of construct_vhdl_ty.
[matthijs/master-project/cλash.git] / VHDLTypes.hs
index e517a8ba08166d6c5800bdb5d4f41b3e4ab74876..5b6807bdbc5a1864db4e636f9626007322982b44 100644 (file)
@@ -43,7 +43,7 @@ instance Ord OrdType where
   compare (OrdType a) (OrdType b) = Type.tcCmpType a b
 
 -- A map of a Core type to the corresponding type name
-type TypeMap = Map.Map OrdType (AST.VHDLId, AST.TypeDec)
+type TypeMap = Map.Map OrdType (AST.VHDLId, AST.TypeDef)
 
 -- A map of a vector Core type to the coressponding VHDL functions
 type TypeFunMap = Map.Map OrdType [AST.SubProgBody]