Make pretty ArrayType match parse
This commit is contained in:
@@ -183,7 +183,7 @@ instance Pretty Type where
|
||||
pretty BoolType = "bool"
|
||||
pretty CharType = "char"
|
||||
pretty (PtrType t) = pretty t <> "*"
|
||||
pretty (ArrayType t) = pretty t <> "[]"
|
||||
pretty (ArrayType t) = "[" <> pretty t <> "]"
|
||||
pretty (StructType s) = pretty s
|
||||
pretty (EnumType e) = pretty e
|
||||
pretty VoidType = "void"
|
||||
|
||||
Reference in New Issue
Block a user