aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-format.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2004-11-09 10:13:30 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2004-11-09 10:13:30 +0000
commit9e637a26797c8ffa178974764874683f12b12d4d (patch)
tree7a8b42664cab7c57c0140be05c05db9dedb5add4 /gcc/c-format.h
parent55a9c4b2fce38ae2459976fa912cd77071f77f4b (diff)
downloadgcc-9e637a26797c8ffa178974764874683f12b12d4d.zip
gcc-9e637a26797c8ffa178974764874683f12b12d4d.tar.gz
gcc-9e637a26797c8ffa178974764874683f12b12d4d.tar.bz2
builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate.
* builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h, c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c, gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c, tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c, config/darwin.c, config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/rs6000/host-darwin.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/symbian.c, config/stormy16/stormy16.c, config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. Use %' as apostrophe in diagnostics where applicable. Use %< and %> in place of '' quotes where applicable. Use %qs in place of %<%s%>. Consistently quote __builtin function names. ada: * misc.c (gnat_handle_option): Use %< and %> for quoting in warning message. cp: * call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c, pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for quoting in diagnostics. * parser.c (cp_parser_sizeof_operand): Use '' instead of `' for quoting in printf format. * decl.c (duplicate_decls, start_decl): Use %qD instead of unquoted %D. objc: * objc-act.c: Use %q, %< and %> for quoting in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Adjust expected messages. From-SVN: r90337
Diffstat (limited to 'gcc/c-format.h')
-rw-r--r--gcc/c-format.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-format.h b/gcc/c-format.h
index a1861b5..9ce6103 100644
--- a/gcc/c-format.h
+++ b/gcc/c-format.h
@@ -161,7 +161,7 @@ typedef struct
nonzero character that may be found in flags2 if it describes the
flag when used with certain formats only. If the latter, only
the first such entry found that applies to the current conversion
- specifier is used; the values of `name' and `long_name' it supplies
+ specifier is used; the values of 'name' and 'long_name' it supplies
will be used, if non-NULL and the standard version is higher than
the unpredicated one, for any pedantic warning. For example, 'o'
for strftime formats (meaning 'O' is an extension over C99). */
@@ -170,10 +170,10 @@ typedef struct
be skipped ('=' in strfmon), zero otherwise. */
int skip_next_char;
/* The name to use for this flag in diagnostic messages. For example,
- N_("`0' flag"), N_("field width"). */
+ N_("'0' flag"), N_("field width"). */
const char *name;
/* Long name for this flag in diagnostic messages; currently only used for
- "ISO C does not support ...". For example, N_("the `I' printf flag"). */
+ "ISO C does not support ...". For example, N_("the 'I' printf flag"). */
const char *long_name;
/* The standard version in which it appeared. */
enum format_std_version std;