diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-03-27 03:18:48 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-03-27 03:18:48 +0300 |
| commit | 78cf00cb506cb86112cb715e4d2d69ec11b20c42 (patch) | |
| tree | 32a1fd3d1e60343cb1e654900c2d4dedca5e938b /src/debug.c | |
| parent | 9fb179ab999c3b98caabca09b30c409dc5dd3b3d (diff) | |
| download | ek-78cf00cb506cb86112cb715e4d2d69ec11b20c42.tar.gz ek-78cf00cb506cb86112cb715e4d2d69ec11b20c42.zip | |
change typeof to be a full time type
Diffstat (limited to 'src/debug.c')
| -rw-r--r-- | src/debug.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index e42aedc..c9a1f86 100644 --- a/src/debug.c +++ b/src/debug.c @@ -206,6 +206,11 @@ static void _type_str(FILE *fp, struct ast_node *type) fprintf(fp, ")"); } } + + case AST_TYPE_TYPEOF: { + _type_str(fp, type->_type.typeo.actual); + fprintf(fp, " (typeof)"); + } } _type_str(fp, type->_type.next); |
