diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-06-15 14:56:32 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-15 14:56:32 +0000 |
commit | be43ab4e01784fedf2cb1eca843783e5eecd3535 (patch) | |
tree | bb53c4922fdf27602a271638fead41e6077d92ea /gcc/ada | |
parent | 4682ae0463c9fcc254fe1c8ede9da9133a9956bc (diff) | |
download | gcc-be43ab4e01784fedf2cb1eca843783e5eecd3535.zip gcc-be43ab4e01784fedf2cb1eca843783e5eecd3535.tar.gz gcc-be43ab4e01784fedf2cb1eca843783e5eecd3535.tar.bz2 |
c-opts.c (lang_flags): Update for new spelling of flags.
* 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.
From-SVN: r67976
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/lang.opt | 24 | ||||
-rw-r--r-- | gcc/ada/misc.c | 2 |
3 files changed, 10 insertions, 21 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 740f535..aaadc70 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2003-06-15 Neil Booth <neil@daikokuya.co.uk> + + * lang.opt: Declare Ada. + * misc.c (gnat_init_options): Update. + 2003-06-14 Nathan Sidwell <nathan@codesourcery.com> * utils.c (begin_subprog_body): Adjust init_function_start call. diff --git a/gcc/ada/lang.opt b/gcc/ada/lang.opt index 0d5855b..9d8b7ab 100644 --- a/gcc/ada/lang.opt +++ b/gcc/ada/lang.opt @@ -18,29 +18,13 @@ ; 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 "Ada". 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 +Ada + I Ada Joined Separate diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index 4d171fc..81bc3d9 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -294,7 +294,7 @@ gnat_init_options () gnat_argv[0] = save_argv[0]; /* name of the command */ gnat_argc = 1; - return CL_ADA; + return CL_Ada; } /* Here is the function to handle the compiler error processing in GCC. */ |