diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-15 14:56:32 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-15 14:56:32 +0000 |
commit | edc4d549b817379879c37060d3a5f8ad3293f2ef (patch) | |
tree | bb53c4922fdf27602a271638fead41e6077d92ea /gcc/treelang | |
parent | aecda0d63740bf543c769e6fed70a34cc7f052e3 (diff) | |
download | gcc-edc4d549b817379879c37060d3a5f8ad3293f2ef.tar.gz |
* c-opts.c (lang_flags): Update for new spelling of flags.
(write_langs): Similarly.
* c.opt: Specify languages.
* opts.h: Remove languages.
* opts.sh: Recognise front-end defined languages.
ada:
* lang.opt: Declare Ada.
* misc.c (gnat_init_options): Update.
doc:
* sourcebuild.texi: Update.
f:
* lang.opt: Declare F77.
java:
* lang.opt: Declare Java.
* lang.c (java_init_options): Update.
treelang:
* lang.opt: Declare Treelang. Update.
* tree1.c (treelang_init_options): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r-- | gcc/treelang/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/treelang/lang.opt | 34 | ||||
-rw-r--r-- | gcc/treelang/tree1.c | 2 |
3 files changed, 15 insertions, 26 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index 73c502ba168..e7499677807 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,8 @@ +2003-06-15 Neil Booth <neil@daikokuya.co.uk> + + * lang.opt: Declare Treelang. Update. + * tree1.c (treelang_init_options): Update. + 2003-06-14 Nathan Sidwell <nathan@codesourcery.com> * treetree.c (tree_code_create_function_initial): Adjust diff --git a/gcc/treelang/lang.opt b/gcc/treelang/lang.opt index 5d3a26686fc..a8fd70b068e 100644 --- a/gcc/treelang/lang.opt +++ b/gcc/treelang/lang.opt @@ -18,42 +18,26 @@ ; Software Foundation, 59 Temple Place - Suite 330, Boston, MA ; 02111-1307, USA. - -; This file is processed by the script opts.sh. It is a database of -; command line options, with each record separated by a blank line, -; and each field appearing on its own line. The first field is the -; command-line switch with the leading "-" removed. All options -; beginning with "f" or "W" are implicitly assumed to take a "no-" -; form; this form should not be listed. If you do not want this -; negative form and you want it to be automatically rejected, add -; RejectNegative to the second field. - -; The second field should contain "Tree". If the switch takes an -; argument, then you should also specify "Joined" and/or "Separate" to -; indicate where the argument can appear. - -; Comments can appear on their own line anwhere in the file, preceded -; by a semicolon. Whitespace is permitted before the semicolon. - -; For each switch XXX below, an enumeration constant is created by the -; script opts.sh spelt OPT_XXX, but with all non-alphanumeric -; characters replaced with an underscore. +; See c.opt for a description of this file's format. ; Please try to keep this file in ASCII collating order. +Language +Treelang + -help -Tree +Treelang flexer-trace -Tree +Treelang fparser-trace -Tree +Treelang v -Tree +Treelang y -Tree +Treelang ; This comment is to ensure we retain the blank line above. diff --git a/gcc/treelang/tree1.c b/gcc/treelang/tree1.c index 6be21a34095..4c1a8468def 100644 --- a/gcc/treelang/tree1.c +++ b/gcc/treelang/tree1.c @@ -92,7 +92,7 @@ static unsigned int work_nesting_level = 0; int treelang_init_options (void) { - return CL_TREELANG; + return CL_Treelang; } /* Process a switch - called by opts.c. */ |