aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);