summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 4e43eef..cb11412 100644
--- a/parse.c
+++ b/parse.c
@@ -957,7 +957,7 @@ static bool parse_expr(Parser *p, Expression *e, Token *end) {
if (token_is_kw(t->token, KW_LPAREN))
tokr_err(t, "Direct function calling in an expression is not supported.\nYou can wrap the function in parentheses.");
else
- tokr_err(t, "Expected end of expression.");
+ tokr_err(t, "Expected end of function (did you forget a semicolon?).");
return false;
}
return true;