aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-07-06 21:53:23 +0000
committerJeff Law <law@gcc.gnu.org>1998-07-06 15:53:23 -0600
commit4a870dba91eec0a8ce9bd598836d6e76e5c12780 (patch)
tree133da29a4cd483c86333e2ae30d675e185fc7bb0 /gcc/c-tree.h
parented79bb3d427c5fa3fa39240a965f47de2463c37c (diff)
downloadgcc-4a870dba91eec0a8ce9bd598836d6e76e5c12780.zip
gcc-4a870dba91eec0a8ce9bd598836d6e76e5c12780.tar.gz
gcc-4a870dba91eec0a8ce9bd598836d6e76e5c12780.tar.bz2
c-decl.c: Add warn_multichar.
* c-decl.c: Add warn_multichar. (c_decode_option): Handle -Wno-multichar. * c-lex.c (yylex): Check it. * c-tree.h: Declare it. * toplev.c (lang_options): Add it. * invoke.texi: Document it. From-SVN: r20968
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 3a9f4f8..7605cfe 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -505,6 +505,10 @@ extern int warn_missing_braces;
extern int warn_sign_compare;
+/* Warn about multicharacter constants. */
+
+extern int warn_multichar;
+
/* Nonzero means we are reading code that came from a system header file. */
extern int system_header_p;