mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-10 01:23:17 +00:00
PR21739, Inconsistent diagnostics
PR 21739 cpu/ * mep.opc (parse_lo16, parse_unsigned7): Mark %function message as no-c-format. opcodes/ * mep-asm.c: Regenerate.
This commit is contained in:
@@ -349,6 +349,7 @@ parse_lo16 (CGEN_CPU_DESC cd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (**strp == '%')
|
if (**strp == '%')
|
||||||
|
/* xgettext:no-c-format */
|
||||||
return _("invalid %function() here");
|
return _("invalid %function() here");
|
||||||
|
|
||||||
return cgen_parse_signed_integer (cd, strp, opindex, valuep);
|
return cgen_parse_signed_integer (cd, strp, opindex, valuep);
|
||||||
@@ -545,6 +546,7 @@ parse_unsigned7 (CGEN_CPU_DESC cd, const char **strp,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (**strp == '%')
|
if (**strp == '%')
|
||||||
|
/* xgettext:no-c-format */
|
||||||
return _("invalid %function() here");
|
return _("invalid %function() here");
|
||||||
|
|
||||||
return parse_mep_alignu (cd, strp, opindex, valuep);
|
return parse_mep_alignu (cd, strp, opindex, valuep);
|
||||||
|
|||||||
@@ -305,6 +305,7 @@ parse_lo16 (CGEN_CPU_DESC cd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (**strp == '%')
|
if (**strp == '%')
|
||||||
|
/* xgettext:no-c-format */
|
||||||
return _("invalid %function() here");
|
return _("invalid %function() here");
|
||||||
|
|
||||||
return cgen_parse_signed_integer (cd, strp, opindex, valuep);
|
return cgen_parse_signed_integer (cd, strp, opindex, valuep);
|
||||||
@@ -501,6 +502,7 @@ parse_unsigned7 (CGEN_CPU_DESC cd, const char **strp,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (**strp == '%')
|
if (**strp == '%')
|
||||||
|
/* xgettext:no-c-format */
|
||||||
return _("invalid %function() here");
|
return _("invalid %function() here");
|
||||||
|
|
||||||
return parse_mep_alignu (cd, strp, opindex, valuep);
|
return parse_mep_alignu (cd, strp, opindex, valuep);
|
||||||
|
|||||||
Reference in New Issue
Block a user