summaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-06 21:53:23 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-06 21:53:23 +0000
commit60f60799679ddb23b74f56d8210d42c32799f15c (patch)
tree133da29a4cd483c86333e2ae30d675e185fc7bb0 /gcc/c-tree.h
parent855e19b77183c2d501e2fc020e10a5bb06ab043d (diff)
downloadgcc-60f60799679ddb23b74f56d8210d42c32799f15c.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20968 138bc75d-0d04-0410-961f-82ee72b054a4
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 3a9f4f83b78..7605cfe2e51 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;