harec

[hare] Hare compiler, written in C11 for POSIX OSs
Log | Files | Refs | README | LICENSE

commit 2c52a02a5bcd9867ef4e3c7fba2ace3828a1bfcf
parent 27275e119da0c4fe109f137374d9fa508ae6ff59
Author: Bor Grošelj Simić <bgs@turminal.net>
Date:   Sun, 19 Feb 2023 04:32:20 +0100

fix check_expr_vaend result type

Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>

Diffstat:
Msrc/check.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/check.c b/src/check.c @@ -3183,7 +3183,7 @@ check_expr_vaend(struct context *ctx, "Expected vaend operand to be valist"); return; } - expr->result = &builtin_type_error; + expr->result = &builtin_type_void; } void