commit f0d296ca337d590353a8fed3f48ab05c0590ea18
parent 73ef2391dfc5311c9279667e3b8659a60f8faf26
Author: Eyal Sawady <ecs@d2evs.net>
Date: Mon, 1 Mar 2021 14:57:21 -0500
parse: remove obsolete TODO
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/parse.c b/src/parse.c
@@ -2460,10 +2460,9 @@ parse_type_decl(struct lexer *lexer, struct ast_type_decl *decl)
}
for (struct ast_type_decl *i = decl; i; i = i->next) {
- char ibuf[1024], tbuf[1024];
+ char ibuf[1024];
identifier_unparse_static(&i->ident, ibuf, sizeof(ibuf));
- strncpy(tbuf, "[type]", sizeof(tbuf)); // TODO: unparse type
- trace(TR_PARSE, "def %s = %s", ibuf, tbuf);
+ trace(TR_PARSE, "def %s = [type]", ibuf);
}
trleave(TR_PARSE, NULL);
}