aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-12 14:27:13 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-12 14:27:13 -0400
commit46a2aa2ffc71820767f0cdaead84c26dc240c893 (patch)
treeda00733058f5b9b4ef03339d630076880845d9ad /parse.c
parent10795782c674df12fc70ea3aeeaa2f62158b6cbd (diff)
Fix up comprehensions so set comprehensions work and everything is a bit
more clean
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) {