From 395efb9c8a0a0160a7b95769e9484bae5548bbde Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 17 Aug 2024 20:47:33 +0300 Subject: add analyzer and fix some reported issues --- src/actualize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actualize.c') diff --git a/src/actualize.c b/src/actualize.c index ba5475e..aa5b398 100644 --- a/src/actualize.c +++ b/src/actualize.c @@ -2289,7 +2289,7 @@ static int actualize_dot(struct act_state *state, if (!def) { semantic_error(scope->fctx, node, - "no such type"); + "no such type"); return -1; } @@ -2305,7 +2305,7 @@ static int actualize_dot(struct act_state *state, char *tstr = type_str(type); semantic_error(scope->fctx, node, "%s does not have have member", - tstr); + tstr); free(tstr); return -1; } -- cgit v1.3