diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-12-02 21:10:26 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-12-02 21:10:26 -0500 |
commit | 38dd2a6e3389db247ce15faafb5ffc75a82ae50d (patch) | |
tree | f4c08cfb710336162b86f577e6c5215346ca6041 /parse.c | |
parent | e252df25d86bb17d73bcbacbf1208a6223093ec1 (diff) |
cleanup
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -167,10 +167,10 @@ static Keyword builtin_type_to_kw(BuiltinType t) { /* returns the number of characters written, not including the null character */ static size_t type_to_str_(Type *t, char *buffer, size_t bufsize) { - if ((t->flags & TYPE_IS_RESOLVED) && t->was_expr) { - /* TODO: improve this (see also: case TYPE_EXPR) */ - return str_copy(buffer, bufsize, "<type expression>"); - } + /* if ((t->flags & TYPE_IS_RESOLVED) && t->was_expr) { */ + /* /\* TODO: improve this (see also: case TYPE_EXPR) *\/ */ + /* return str_copy(buffer, bufsize, "<type expression>"); */ + /* } */ switch (t->kind) { case TYPE_VOID: return str_copy(buffer, bufsize, "void"); |