summaryrefslogtreecommitdiff
path: root/libyasm/floatnum.c
diff options
context:
space:
mode:
Diffstat (limited to 'libyasm/floatnum.c')
-rw-r--r--libyasm/floatnum.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libyasm/floatnum.c b/libyasm/floatnum.c
index 6f98dc26..f7b4fe60 100644
--- a/libyasm/floatnum.c
+++ b/libyasm/floatnum.c
@@ -511,10 +511,11 @@ floatnum_delete(floatnum *flt)
}
void
-floatnum_calc(floatnum *acc, ExprOp op, /*@unused@*/ floatnum *operand)
+floatnum_calc(floatnum *acc, ExprOp op, /*@unused@*/ floatnum *operand,
+ unsigned long lindex)
{
if (op != EXPR_NEG)
- Error(_("Unsupported floating-point arithmetic operation"));
+ Error(lindex, _("Unsupported floating-point arithmetic operation"));
else
acc->sign ^= 1;
}