Add support for enumeration types.
[matthijs/master-project/cλash.git] / cλash / CLasH / Translator / TranslatorTypes.hs
index 7483504fd08c12083c4ff58038eca4a916ffafe5..c9c94055a199a124ab34588cd10f14f3f1f70fa0 100644 (file)
@@ -47,6 +47,7 @@ instance Ord OrdType where
 
 data HType = StdType OrdType |
              ADTType String [HType] |
+             EnumType String [String] |
              VecType Int HType |
              SizedWType Int |
              RangedWType Int |