PR21739, Inconsistent diagnostics
PR 21739
cpu/
* mep.opc (parse_lo16, parse_unsigned7): Mark %function
message as no-c-format.
opcodes/
* mep-asm.c: Regenerate.
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 @@
}
if (**strp == '%')
+ /* xgettext:no-c-format */
return _("invalid %function() here");
return cgen_parse_signed_integer (cd, strp, opindex, valuep);
@@ -545,6 +546,7 @@
}
if (**strp == '%')
+ /* xgettext:no-c-format */
return _("invalid %function() here");
return parse_mep_alignu (cd, strp, opindex, valuep);
diff --git a/opcodes/mep-asm.c b/opcodes/mep-asm.c
index e2dda51..6e72ddb 100644
--- a/opcodes/mep-asm.c
+++ b/opcodes/mep-asm.c
@@ -305,6 +305,7 @@
}
if (**strp == '%')
+ /* xgettext:no-c-format */
return _("invalid %function() here");
return cgen_parse_signed_integer (cd, strp, opindex, valuep);
@@ -501,6 +502,7 @@
}
if (**strp == '%')
+ /* xgettext:no-c-format */
return _("invalid %function() here");
return parse_mep_alignu (cd, strp, opindex, valuep);