From 7e3eb6364afcbbcd0cff29e4832fb881925f53b9 Mon Sep 17 00:00:00 2001 From: cozis Date: Tue, 6 Dec 2022 17:56:57 +0100 Subject: [PATCH] undid an oopsie --- src/lib/compiler/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/compiler/parse.c b/src/lib/compiler/parse.c index 2ba80b4..1607f3f 100644 --- a/src/lib/compiler/parse.c +++ b/src/lib/compiler/parse.c @@ -1925,7 +1925,7 @@ static _Bool parse_function_arguments(Context *ctx, int *argc_, Node **argv_) type = parse_expression(ctx, 0, 0); if(type == NULL) return 0; - parameter } else + } else type = NULL; Node *defarg; // Default argument (or NULL if there isn't one)