From 80cafd07e867a2d776f8dfa6db1eb627addff111 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Tue, 8 Apr 2025 17:06:40 +0100 Subject: [PATCH] Use report_as instead --- expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expr.c b/expr.c index 6e944d9..b8400cf 100644 --- a/expr.c +++ b/expr.c @@ -631,7 +631,7 @@ static struct section *operand (char *start, char **pp, struct expr *expr, int e if (expr->type == EXPR_TYPE_ABSENT) { - report_line_at (get_filename (), get_line_number (), REPORT_ERROR, start, *pp, "bad expression"); + report_at (get_filename (), get_line_number (), REPORT_ERROR, "bad expression"); (*pp)++; expr->type = EXPR_TYPE_CONSTANT; -- 2.34.1