attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty...
authorJoseph Myers <jsm@polyomino.org.uk>
Wed, 15 Sep 2004 20:48:10 +0000 (21:48 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 15 Sep 2004 20:48:10 +0000 (21:48 +0100)
commit971801fff6d8eb0df1486fa6b77ba4cfc4616305
tree4034f8306b245baf4a83c67767977aaa06c4a83b
parent1daf6f3a5ba3a54bde4b8843b7b75dad3bb536eb
attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c.

gcc:
* attribs.c, builtins.c, c-format.c, c-pch.c, coverage.c,
except.c, fold-const.c, function.c, langhooks.c, params.c,
reload.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c,
tree-dump.c, tree-mudflap.c, tree.c, varasm.c: Use %<, %> and %q
for quoting in diagnostics going through pretty-print.c.  Use ''
for quoting in other diagnostic text.
* langhooks.c: Include intl.h.  Mark text locating diagnostics for
translation.
* Makefile.in (langhooks.o): Update dependencies.
* pretty-print.h (pp_printf): Mark as accepting GCC diagnostic
formats.

gcc/testsuite:
* g++.dg/ext/member-attr.C, g++.dg/warn/deprecated.C,
gcc.dg/deprecated.c, gcc.dg/noreturn-1.c, gcc.dg/noreturn-4.c:
Update expected messages.

libmudflap:
* testsuite/libmudflap.c/pass35-frag.c: Update expected message.

From-SVN: r87563
31 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/attribs.c
gcc/builtins.c
gcc/c-format.c
gcc/c-pch.c
gcc/coverage.c
gcc/except.c
gcc/fold-const.c
gcc/function.c
gcc/langhooks.c
gcc/params.c
gcc/pretty-print.h
gcc/reload.c
gcc/reload1.c
gcc/stmt.c
gcc/stor-layout.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/member-attr.C
gcc/testsuite/g++.dg/warn/deprecated.C
gcc/testsuite/gcc.dg/deprecated.c
gcc/testsuite/gcc.dg/noreturn-1.c
gcc/testsuite/gcc.dg/noreturn-4.c
gcc/toplev.c
gcc/tree-cfg.c
gcc/tree-dump.c
gcc/tree-mudflap.c
gcc/tree.c
gcc/varasm.c
libmudflap/ChangeLog
libmudflap/testsuite/libmudflap.c/pass35-frag.c