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.

From-SVN: r246045
This commit is contained in:
David Malcolm 2017-03-10 19:09:02 +00:00 committed by David Malcolm
parent 57517ca426
commit a02fa80571
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2017-03-10 David Malcolm <dmalcolm@redhat.com>
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 <polacek@redhat.com>
PR c++/79962

View File

@ -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));
}
}