aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-02-05 15:19:30 +0000
committerGinger Bill <bill@gingerbill.org>2017-02-05 15:19:30 +0000
commit2a5b674d33e4f483964da119f76038457cd9f1f2 (patch)
tree1e094b9e6ed3fa435dc5c76cdf7f4a7e740781f7 /src/check_stmt.c
parent7944b7714f5478b9a89e3fc1e331e8090652e49e (diff)
Custom struct alignment
Diffstat (limited to 'src/check_stmt.c')
-rw-r--r--src/check_stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.c b/src/check_stmt.c
index 39a1faa79..dba3ec56e 100644
--- a/src/check_stmt.c
+++ b/src/check_stmt.c
@@ -799,7 +799,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
Token token = {0};
token.pos = ast_node_token(ms->body).pos;
token.string = str_lit("true");
- x.expr = make_ident(c->curr_ast_file, token);
+ x.expr = ast_ident(c->curr_ast_file, token);
}
// NOTE(bill): Check for multiple defaults