From 46a2aa2ffc71820767f0cdaead84c26dc240c893 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 12 Sep 2024 14:27:13 -0400 Subject: Fix up comprehensions so set comprehensions work and everything is a bit more clean --- parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.c') 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) { -- cgit v1.2.3