From: Robert Pengelly Date: Tue, 8 Apr 2025 16:06:40 +0000 (+0100) Subject: Use report_as instead X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=80cafd07e867a2d776f8dfa6db1eb627addff111;p=sasm.git Use report_as instead --- 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;