aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-07-08 16:09:50 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-07-08 16:09:50 +0200
commit59ee1f6e4ec2f2ee240d34d9038baff47fecd834 (patch)
tree70d5313dc5e36e89bb00e28d32f652285863832f
parent96028efc97f57e67ccda04f92737ef1d974b6c94 (diff)
Fix comment
-rw-r--r--src/parser.c2
1 files changed, 1 insertions, 1 deletions
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);