diff options
author | Jakub Jelinek <jakub@redhat.com> | 2000-12-15 16:49:28 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2000-12-15 16:49:28 +0100 |
commit | be76805509ea3921047472a6aba0d63d2e2be3eb (patch) | |
tree | 6253525ac637d62e9809618539bdf01c3ffe17a4 /gcc/cpplib.h | |
parent | c3e899c1259f0117a62069c1edbbad41ef1b36ec (diff) | |
download | gcc-be76805509ea3921047472a6aba0d63d2e2be3eb.zip gcc-be76805509ea3921047472a6aba0d63d2e2be3eb.tar.gz gcc-be76805509ea3921047472a6aba0d63d2e2be3eb.tar.bz2 |
gcc.c (cpp_options): Pass -fno-operator-names.
* gcc.c (cpp_options): Pass -fno-operator-names.
* cpplib.h (struct cpp_options): Add operator_names.
* cppinit.c (cpp_create_reader): Initialize it.
(initialize_builtins): If -fno-operator-names, don't add
C++ alternate operator names.
(COMMAND_LINE_OPTIONS): Add -fno-operator-names.
(cpp_handle_option): Clear operator_names.
From-SVN: r38288
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 18c3baa..552631b 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -424,6 +424,9 @@ struct cpp_options /* Print column number in error messages. */ unsigned char show_column; + + /* Treat C++ alternate operator names special. */ + unsigned char operator_names; }; struct lexer_state |