aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/formatter/types.c')
-rw-r--r--src/formatter/types.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/formatter/types.c b/src/formatter/types.c
index 0cff38f0..3c77fa7d 100644
--- a/src/formatter/types.c
+++ b/src/formatter/types.c
@@ -19,11 +19,11 @@ Text_t format_type(type_ast_t *type) {
}
case TableTypeAST: {
DeclareMatch(table, type, TableTypeAST);
- Text_t code = Texts("{", format_type(table->key), "=", format_type(table->value));
+ Text_t code = Texts("{", format_type(table->key), ":", format_type(table->value));
if (table->default_value) {
OptionalText_t val = format_inline_code(table->default_value, (Table_t){});
assert(val.length >= 0);
- code = Texts(code, "; default=", val);
+ code = Texts(code, "=", val);
}
return Texts(code, "}");
}