From 59ee1f6e4ec2f2ee240d34d9038baff47fecd834 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 8 Jul 2024 16:09:50 +0200 Subject: Fix comment --- src/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.c b/src/parser.c index 6a4db5e..0a5f632 100644 --- a/src/parser.c +++ b/src/parser.c @@ -386,7 +386,7 @@ parsestmt(ast_t *ast, aux_t *aux, lexemes_t toks) err("parser: Expected semicolon"); } else if (toks.kinds[toksidx + 1] == LEXCOLON) { i = parsedecl(ast, aux, toks, false); - } else /* assignment */ { + } else /* assignment or funcall */ { idx_t lhs, rhs; i = astalloc(ast); lhs = parseexpr(ast, toks, 0); -- cgit v1.2.3