From 64f667127da3227b55943f02b48c0a2b8f6a0798 Mon Sep 17 00:00:00 2001 From: cozis Date: Sun, 13 Mar 2022 21:52:59 +0100 Subject: [PATCH] typo fix --- src/compiler/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parse.c b/src/compiler/parse.c index fc1eefd..a4eb6f0 100644 --- a/src/compiler/parse.c +++ b/src/compiler/parse.c @@ -1938,7 +1938,7 @@ static Node *parse_function_definition(Context *ctx) if(current(ctx) != ',') { - Error_Report(ctx->error, 0, "Got unexpected token \"%.*s\" where inside function argument list, where either ',' or ')' were expected", ctx->token->length, ctx->src + ctx->token->offset); + Error_Report(ctx->error, 0, "Got unexpected token \"%.*s\" inside function argument list, where either ',' or ')' were expected", ctx->token->length, ctx->src + ctx->token->offset); return NULL; }