aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-08-01 06:32:38 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-08-01 06:32:38 +0000
commit78df51fe2906b911ed8275ba9ce3591de6ab288b (patch)
tree3a9ce5e140fd47b73b7d638046b144bd5f6722e3 /gcc
parentabecfc8f7b738d589ff9cb67655b13262a79fb0a (diff)
downloadgcc-78df51fe2906b911ed8275ba9ce3591de6ab288b.zip
gcc-78df51fe2906b911ed8275ba9ce3591de6ab288b.tar.gz
gcc-78df51fe2906b911ed8275ba9ce3591de6ab288b.tar.bz2
cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
* cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar. (cpp_handle_option): Don't handle it. (print_help): Update. * doc/cppopts.texi: Update. From-SVN: r55925
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/cppinit.c5
-rw-r--r--gcc/doc/cppopts.texi6
3 files changed, 7 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f467337..5487dfc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2002-08-01 Neil Booth <neil@daikokuya.co.uk>
+ * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
+ (cpp_handle_option): Don't handle it.
+ (print_help): Update.
+ * doc/cppopts.texi: Update.
+
+2002-08-01 Neil Booth <neil@daikokuya.co.uk>
+
* c-common.c (cb_register_builtins): If C++, define
__EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
* gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
diff --git a/gcc/cppinit.c b/gcc/cppinit.c
index 6a4dd0a..212f1a4 100644
--- a/gcc/cppinit.c
+++ b/gcc/cppinit.c
@@ -1135,7 +1135,6 @@ new_pending_directive (pend, text, handler)
/* This is the list of all command line options, with the leading
"-" removed. It must be sorted in ASCII collating order. */
#define COMMAND_LINE_OPTIONS \
- DEF_OPT("$", 0, OPT_dollar) \
DEF_OPT("-help", 0, OPT__help) \
DEF_OPT("-target-help", 0, OPT_target__help) \
DEF_OPT("-version", 0, OPT__version) \
@@ -1415,9 +1414,6 @@ cpp_handle_option (pfile, argc, argv)
case OPT_P:
CPP_OPTION (pfile, no_line_commands) = 1;
break;
- case OPT_dollar: /* Don't include $ in identifiers. */
- CPP_OPTION (pfile, dollars_in_ident) = 0;
- break;
case OPT_H:
CPP_OPTION (pfile, print_include_names) = 1;
break;
@@ -1980,7 +1976,6 @@ Switches:\n\
-fpreprocessed Treat the input file as already preprocessed\n\
-ftabstop=<number> Distance between tab stops for column reporting\n\
-P Do not generate #line directives\n\
- -$ Do not allow '$' in identifiers\n\
-remap Remap file names when including files\n\
--version Display version information\n\
-h or --help Display this information\n\
diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi
index 27b11cd..49bd349 100644
--- a/gcc/doc/cppopts.texi
+++ b/gcc/doc/cppopts.texi
@@ -607,12 +607,6 @@ Replacement: [ ] @{ @} # \ ^ | ~
Enable special code to work around file systems which only permit very
short file names, such as MS-DOS@.
-@item -$
-@opindex $
-Forbid the use of @samp{$} in identifiers. The C standard allows
-implementations to define extra characters that can appear in
-identifiers. By default GNU CPP permits @samp{$}, a common extension.
-
@item -h
@itemx --help
@itemx --target-help