Use report_as instead
authorRobert Pengelly <robertapengelly@hotmail.com>
Tue, 8 Apr 2025 16:06:40 +0000 (17:06 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Tue, 8 Apr 2025 16:06:40 +0000 (17:06 +0100)
expr.c

diff --git a/expr.c b/expr.c
index 6e944d9ebf5ce1207a6f8d0d23daf592bf0c9c75..b8400cf69e7dc50c825134556a7b0da09cf34e21 100644 (file)
--- 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;