c-indentation.c: workaround xgettext limitation (PR c/79921)
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 10 Mar 2017 19:09:02 +0000 (19:09 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 10 Mar 2017 19:09:02 +0000 (19:09 +0000)
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

gcc/c-family/ChangeLog
gcc/c-family/c-indentation.c

index a6447738f6bb1340ab12dcf2f3affe4f43a0746b..44f80255966e77e857a5a58d7cd39e4104715ece 100644 (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
index 329f4708345e0a6fcd34fa1e11d4862fe1975b59..8300788db10b8535dca8338a9c6b87a23b5f4c35 100644 (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));
     }
 }