diff options
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); |
