aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-06-15 14:56:32 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-15 14:56:32 +0000
commitbe43ab4e01784fedf2cb1eca843783e5eecd3535 (patch)
treebb53c4922fdf27602a271638fead41e6077d92ea /gcc/c-opts.c
parent4682ae0463c9fcc254fe1c8ede9da9133a9956bc (diff)
downloadgcc-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/c-opts.c')
-rw-r--r--gcc/c-opts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index f1c87cb4..680c3cb 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -50,7 +50,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
# define TARGET_EBCDIC 0
#endif
-static const int lang_flags[] = {CL_C, CL_OBJC, CL_CXX, CL_OBJCXX};
+static const int lang_flags[] = {CL_C, CL_ObjC, CL_CXX, CL_ObjCXX};
static int saved_lineno;
@@ -1537,7 +1537,7 @@ write_langs (buf, flags)
*buf = '\0';
if (flags & CL_C)
strcat (buf, "C");
- if (flags & CL_OBJC)
+ if (flags & CL_ObjC)
{
if (*buf)
strcat (buf, "/");