aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-09-15 21:48:10 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2004-09-15 21:48:10 +0100
commit971801fff6d8eb0df1486fa6b77ba4cfc4616305 (patch)
tree4034f8306b245baf4a83c67767977aaa06c4a83b /gcc/params.c
parent1daf6f3a5ba3a54bde4b8843b7b75dad3bb536eb (diff)
downloadgcc-971801fff6d8eb0df1486fa6b77ba4cfc4616305.zip
gcc-971801fff6d8eb0df1486fa6b77ba4cfc4616305.tar.gz
gcc-971801fff6d8eb0df1486fa6b77ba4cfc4616305.tar.bz2
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
Diffstat (limited to 'gcc/params.c')
-rw-r--r--gcc/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/params.c b/gcc/params.c
index e109d3a..f7db800 100644
--- a/gcc/params.c
+++ b/gcc/params.c
@@ -73,5 +73,5 @@ set_param_value (const char *name, int value)
}
/* If we didn't find this parameter, issue an error message. */
- error ("invalid parameter `%s'", name);
+ error ("invalid parameter %qs", name);
}