diff options
| author | Carson Fleming <cflems@cflems.net> | 2026-07-17 18:09:04 -0700 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2026-07-17 18:09:04 -0700 |
| commit | b43aebd9d3c2e072ee2acc50d4381dcb0f01ec98 (patch) | |
| tree | 26727e2abac02f19a557171fbd8f08ae1d21a68e /ast.h | |
| parent | bfb8020c1a64f505537163caa465bd7f06e43f18 (diff) | |
| download | ccc-b43aebd9d3c2e072ee2acc50d4381dcb0f01ec98.tar.gz | |
type shortcuts for literals
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -172,6 +172,13 @@ struct root_node { struct ast { struct root_node* root_node; struct scope* root_scope; + + /* nice shortcuts to have */ + const struct type_def* void_type; + const struct type_def* char_type; + const struct type_def* integral_type; + const struct type_def* decimal_type; + const struct type_def* string_type; }; void ast_destroy(struct ast* ast); |
