diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-15 15:49:28 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-15 15:49:28 +0000 |
commit | 624a75705f2258e42c7edb35107fe4eb1ea29ce9 (patch) | |
tree | 6253525ac637d62e9809618539bdf01c3ffe17a4 /gcc/cpplib.h | |
parent | 24f9a6601f0c8e807f692477aec56280400dbf00 (diff) | |
download | gcc-624a75705f2258e42c7edb35107fe4eb1ea29ce9.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38288 138bc75d-0d04-0410-961f-82ee72b054a4
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 18c3baa9288..552631b33f0 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 |