summaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ast.h b/ast.h
index a6d0388..e77c779 100644
--- a/ast.h
+++ b/ast.h
@@ -11,7 +11,7 @@ struct expr_list_node {
struct expr_node* expr;
struct expr_list_node* next;
- struct type* resolved_type;
+ const struct type* resolved_type;
};
struct int_lit_node {
@@ -104,7 +104,7 @@ struct expr_node {
struct paren_node paren;
} inner;
- struct type* resolved_type;
+ const struct type* resolved_type;
};
struct group_node {