intl.h (open_quote, [...]): New.
authorJoseph Myers <jsm@polyomino.org.uk>
Mon, 24 May 2004 19:28:20 +0000 (20:28 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 24 May 2004 19:28:20 +0000 (20:28 +0100)
commita668adb2f3bbe7e4b6f6aee2ca721b8e466d2ee7
tree8e604d480ecc6f087099ac7d2f0f4f6d9b68c228
parent1bfc8f675bee787718c1f5d24a300d7b86107fea
intl.h (open_quote, [...]): New.

* intl.h (open_quote, close_quote): New.
* intl.c (open_quote, close_quote): New.
(gcc_init_libintl): Set them.
* pretty-print.c: Include "intl.h".
(pp_base_format_text): Support 'q' format flag and %` and %'
formats.  Use ' instead of ` in comments.
* c-format.c (gcc_diag_flag_specs, gcc_cxxdiag_flag_specs,
gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table,
foramt_types_orig): Describe these new formats.
(decode_format_attr, check_function_format,
check_format_info_main): Use these new formats.
(status_warning): Use ATTRIBUTE_GCC_DIAG.
* toplev.c (ATTRIBUTE_GCC_DIAG): Increase required GCC version to
check these formats to 3.5.

From-SVN: r82215
gcc/ChangeLog
gcc/c-format.c
gcc/intl.c
gcc/intl.h
gcc/pretty-print.c
gcc/toplev.h