From f757c5cae97b1437f4fcf2e25c53376775ea541f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 29 Feb 2024 21:03:12 +1030 Subject: PR21739, Inconsistent diagnostics PR 21739 cpu/ * mep.opc (parse_lo16, parse_unsigned7): Mark %function message as no-c-format. opcodes/ * mep-asm.c: Regenerate. --- cpu/mep.opc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpu') diff --git a/cpu/mep.opc b/cpu/mep.opc index ebe119a..33dd63b 100644 --- a/cpu/mep.opc +++ b/cpu/mep.opc @@ -349,6 +349,7 @@ parse_lo16 (CGEN_CPU_DESC cd, } if (**strp == '%') + /* xgettext:no-c-format */ return _("invalid %function() here"); return cgen_parse_signed_integer (cd, strp, opindex, valuep); @@ -545,6 +546,7 @@ parse_unsigned7 (CGEN_CPU_DESC cd, const char **strp, } if (**strp == '%') + /* xgettext:no-c-format */ return _("invalid %function() here"); return parse_mep_alignu (cd, strp, opindex, valuep); -- cgit v1.1