aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-07-11 08:58:28 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-07-11 08:58:28 +0000
commit9b55f29a8432a6e841ad1e842585666562c6eca3 (patch)
tree34bafa80cd73a9004dc7444f72a7555fb0602318 /gcc/cpplib.h
parentbb6a53c76b68192547959b6717c5632a9ee225bd (diff)
downloadgcc-9b55f29a8432a6e841ad1e842585666562c6eca3.zip
gcc-9b55f29a8432a6e841ad1e842585666562c6eca3.tar.gz
gcc-9b55f29a8432a6e841ad1e842585666562c6eca3.tar.bz2
cppinit.c: (cpp_reader_init): Allow digraphs by default.
* cppinit.c: (cpp_reader_init): Allow digraphs by default. (handle_option): Set digraphs according to standard. Merge OPT_lang_c89 handler with OPT_std_c89. * cpplex.c: (lex_line, can_paste): Honour digraphs in accordance with the digraphs flag. * cpplib.h: (struct cpp_options): New option digraphs. From-SVN: r34956
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 2868a5b..8db8c51 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -329,6 +329,9 @@ struct cpp_options
/* Nonzero means process the ISO trigraph sequences. */
unsigned char trigraphs;
+ /* Nonzero means process the ISO digraph sequences. */
+ unsigned char digraphs;
+
/* Nonzero means print the names of included files rather than the
preprocessed output. 1 means just the #include "...", 2 means
#include <...> as well. */