This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Ada documentation issues


    > gcc no longer recognizes .ada (see gcc/ada/lang-specs.h), therefore

    Given this, the entry for .ada in default_compilers in gcc.c should
    probably be removed.

Yes, it should.  I thought I did it a while ago, but I just did it now:

Sat Oct  6 07:42:39 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* gcc.c (default_compilers): Remove .ada.

*** gcc.c	2001/10/06 08:01:50	1.253
--- gcc.c	2001/10/06 11:30:28
*************** static struct compiler default_compilers
*** 782,786 ****
    {".cp", "#C++", 0}, {".c++", "#C++", 0}, {".C", "#C++", 0},
    {".ii", "#C++", 0},
!   {".ads", "#Ada", 0}, {".adb", "#Ada", 0}, {".ada", "#Ada", 0},
    {".f", "#Fortran", 0}, {".for", "#Fortran", 0}, {".fpp", "#Fortran", 0},
    {".F", "#Fortran", 0}, {".FOR", "#Fortran", 0}, {".FPP", "#Fortran", 0},
--- 782,786 ----
    {".cp", "#C++", 0}, {".c++", "#C++", 0}, {".C", "#C++", 0},
    {".ii", "#C++", 0},
!   {".ads", "#Ada", 0}, {".adb", "#Ada", 0},
    {".f", "#Fortran", 0}, {".for", "#Fortran", 0}, {".fpp", "#Fortran", 0},
    {".F", "#Fortran", 0}, {".FOR", "#Fortran", 0}, {".FPP", "#Fortran", 0},


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]