On 11.05.21 17:20, Jakub Jelinek via Gcc-patches wrote:
One extra thing, sorry, forgot to mention, for the translators it might be
better to use "too many %qs modifiers", "always" (or, "close").
That way they can translate it just once instead of twice.

That won't work for

c_parser_error (parser, "expected modifier %<always%> only once");

as the error function is not variadic, contrary to warning_at/error_at; namely

c/c-parser.h:extern bool c_parser_error (c_parser *parser, const char *gmsgid);

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München 
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank 
Thürauf

Reply via email to