summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-12-02 21:10:26 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2019-12-02 21:10:26 -0500
commit38dd2a6e3389db247ce15faafb5ffc75a82ae50d (patch)
treef4c08cfb710336162b86f577e6c5215346ca6041 /parse.c
parente252df25d86bb17d73bcbacbf1208a6223093ec1 (diff)
cleanup
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse.c b/parse.c
index 8c281f4..299e54d 100644
--- a/parse.c
+++ b/parse.c
@@ -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");