[PATCH 4/7] c-indentation.c: workaround xgettext limitation (PR c/79921)
Fri Mar 10 06:26:00 GMT 2017
On Thu, Mar 09, 2017 at 12:45:26PM -0500, David Malcolm wrote:
> xgettext wasn't locating the message:
> ("...this statement, but the latter is misleadingly indented"
> " as if it were guarded by the %qs"),
> when building gcc.pot, and so this message was not being translated.
> It appears the root cause is the parens around the concatenated
> literals. A fix would be to convert it to usage of the G_ macro,
> but this patch simply removes the parens.
> PR c/79921
> * c-indentation.c (warn_for_misleading_indentation): Remove parens
> from inform's message, so that xgettext can locate it.
More information about the Gcc-patches