aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 62eb7bdf..ab041197 100644
--- a/parse.c
+++ b/parse.c
@@ -2283,7 +2283,7 @@ PARSER(parse_inline_c) {
parser_err(ctx, start, pos, "This inline C needs to have a type after it");
type = expect(ctx, start, &pos, parse_type, "I couldn't parse the type for this extern");
}
- return NewAST(ctx->file, start, pos, InlineCCode, .code=c_code, .type=type);
+ return NewAST(ctx->file, start, pos, InlineCCode, .code=c_code, .type_ast=type);
}
PARSER(parse_doctest) {