diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-11-14 13:14:42 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-11-14 13:14:42 +0200 |
| commit | 294dd992f84f609e6ffcb58e49efb2ef1908e1a8 (patch) | |
| tree | 23aea55fb647443972765f1eca05d24c0db25ebf /src/debug.c | |
| parent | b00da3db7c1d7f1e16b2e0446234dc42d54b8708 (diff) | |
| download | ek-294dd992f84f609e6ffcb58e49efb2ef1908e1a8.tar.gz ek-294dd992f84f609e6ffcb58e49efb2ef1908e1a8.zip | |
make memory tracking more dumb
Diffstat (limited to 'src/debug.c')
| -rw-r--r-- | src/debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c index f145234..e6e2b60 100644 --- a/src/debug.c +++ b/src/debug.c @@ -230,8 +230,7 @@ static void _type_str(FILE *fp, struct ast_node *type) } case AST_TYPE_PRIMITIVE: { - struct ast_node *id = AST_PRIMITIVE_TYPE(type).id; - fprintf(fp, "%s", AST_ID(id).id); + fprintf(fp, "%s", primitive_str(AST_PRIMITIVE_TYPE(type).type)); break; } |
