From: dmalcolm Date: Fri, 10 Mar 2017 19:09:02 +0000 (+0000) Subject: c-indentation.c: workaround xgettext limitation (PR c/79921) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b496eb9f82656984f6a34064336df915d3c77b7;p=thirdparty%2Fgcc.git c-indentation.c: workaround xgettext limitation (PR c/79921) gcc/c-family/ChangeLog: PR c/79921 * c-indentation.c (warn_for_misleading_indentation): Remove parens from inform's message, so that xgettext can locate it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246045 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index a6447738f6bb..44f80255966e 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2017-03-10 David Malcolm + + PR c/79921 + * c-indentation.c (warn_for_misleading_indentation): Remove parens + from inform's message, so that xgettext can locate it. + 2017-03-09 Marek Polacek PR c++/79962 diff --git a/gcc/c-family/c-indentation.c b/gcc/c-family/c-indentation.c index 329f4708345e..8300788db10b 100644 --- a/gcc/c-family/c-indentation.c +++ b/gcc/c-family/c-indentation.c @@ -607,8 +607,8 @@ warn_for_misleading_indentation (const token_indent_info &guard_tinfo, "this %qs clause does not guard...", guard_tinfo_to_string (guard_tinfo))) inform (next_tinfo.location, - ("...this statement, but the latter is misleadingly indented" - " as if it were guarded by the %qs"), + "...this statement, but the latter is misleadingly indented" + " as if it were guarded by the %qs", guard_tinfo_to_string (guard_tinfo)); } }