aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-indentation.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2017-03-10 19:09:02 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2017-03-10 19:09:02 +0000
commita02fa80571bf9756778ba3ca39e0118053b30ad2 (patch)
tree08be235542f3da6f7e6b98ccd654daed6161dfec /gcc/c-family/c-indentation.c
parent57517ca4262d733e93469658231209def4bd83fc (diff)
downloadgcc-a02fa80571bf9756778ba3ca39e0118053b30ad2.zip
gcc-a02fa80571bf9756778ba3ca39e0118053b30ad2.tar.gz
gcc-a02fa80571bf9756778ba3ca39e0118053b30ad2.tar.bz2
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
Diffstat (limited to 'gcc/c-family/c-indentation.c')
-rw-r--r--gcc/c-family/c-indentation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-family/c-indentation.c b/gcc/c-family/c-indentation.c
index 329f470..8300788 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));
}
}