diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-15 22:19:44 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-15 22:19:44 +0000 |
commit | 80102098ac63f0284379625c832edc8b70a7fcb9 (patch) | |
tree | 9219a2dfe3b6d7675e4225ca1c437668ca5aad83 /gcc/treelang | |
parent | cc57c8d51525d07ba7ef9b02c5267131d6415d29 (diff) | |
download | gcc-80102098ac63f0284379625c832edc8b70a7fcb9.tar.gz |
* c.opt: Document more options.
* toplev.c (documented_lang_options): Remove all local help strings.
treelang:
* lang-options.h: Remove.
* lang.opt: Document some options. Remove --help.
* tree1.c (treelang_handle_option): Remove OPT__help case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69423 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r-- | gcc/treelang/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/treelang/lang-options.h | 29 | ||||
-rw-r--r-- | gcc/treelang/lang.opt | 5 | ||||
-rw-r--r-- | gcc/treelang/tree1.c | 11 |
4 files changed, 8 insertions, 43 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index 9d1809f1b8c..6157e00431d 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,9 @@ +2003-07-15 Neil Booth <neil@daikokuya.co.uk> + + * lang-options.h: Remove. + * lang.opt: Document some options. Remove --help. + * tree1.c (treelang_handle_option): Remove OPT__help case. + 2003-07-12 Andreas Jaeger <aj@suse.de> * Make-lang.in (treelang/tree-convert.o): Depend on TM_H. diff --git a/gcc/treelang/lang-options.h b/gcc/treelang/lang-options.h deleted file mode 100644 index 2d60c3ef35b..00000000000 --- a/gcc/treelang/lang-options.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Definitions for switches for TREELANG. - - Copyright (C) 1995, 96-98, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GCC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -DEFINE_LANG_NAME ("treelang") - -/* This is the contribution to the `lang_options' array in gcc.c for - treelang. */ - {"-fparser-trace", N_("(debug) trace parsing process")}, - {"-flexer-trace", N_("(debug) trace lexical analysis")}, - - diff --git a/gcc/treelang/lang.opt b/gcc/treelang/lang.opt index a8fd70b068e..32b7150b0c9 100644 --- a/gcc/treelang/lang.opt +++ b/gcc/treelang/lang.opt @@ -25,14 +25,13 @@ Language Treelang --help -Treelang - flexer-trace Treelang +Trace lexical analysis fparser-trace Treelang +Trace the parsing process v Treelang diff --git a/gcc/treelang/tree1.c b/gcc/treelang/tree1.c index b3fcff2ece3..640f5f21801 100644 --- a/gcc/treelang/tree1.c +++ b/gcc/treelang/tree1.c @@ -108,17 +108,6 @@ treelang_handle_option (size_t scode, const char *arg ATTRIBUTE_UNUSED, default: abort(); - case OPT__help: - if (!version_done) - { - fputs (language_string, stdout); - fputs (version_string, stdout); - fputs ("\n", stdout); - version_done = 1; - } - fprintf (stdout, "Usage: tree1 [switches] -o output input\n"); - break; - case OPT_v: if (!version_done) { |