whitespace

This commit is contained in:
Wolfgang Thaller 2012-04-13 22:03:51 +02:00
parent e0f694a069
commit a609de329b

View File

@ -78,8 +78,8 @@ reg = (reserved tp "__A0" >> return "%%a0")
data TypeCategory = ByteType | WordType | LongType | PointerType | VoidType data TypeCategory = ByteType | WordType | LongType | PointerType | VoidType
deriving(Show, Eq) deriving(Show, Eq)
classifyType tm t | "Ptr" `isSuffixOf` t = Just PointerType classifyType tm t | "Ptr" `isSuffixOf` t = Just PointerType
| "*" `isSuffixOf` t = Just PointerType | "*" `isSuffixOf` t = Just PointerType
| "Handle" `isSuffixOf` t = Just PointerType | "Handle" `isSuffixOf` t = Just PointerType
classifyType tm "unsigned char" = Just ByteType classifyType tm "unsigned char" = Just ByteType
classifyType tm "signed char" = Just ByteType classifyType tm "signed char" = Just ByteType
classifyType tm "char" = Just ByteType classifyType tm "char" = Just ByteType