diff options
author | Tobias Burnus <burnus@net-b.de> | 2007-10-27 16:43:53 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2007-10-27 16:43:53 +0200 |
commit | 1200489c4624638d172b15bb9adb303867bc9639 (patch) | |
tree | 6c55915b78e3302db29bd664156a7c2685709ba3 /gcc/fortran/options.c | |
parent | 094817b07029ca9ce995a8b96c0527c781b0d8ad (diff) | |
download | gcc-1200489c4624638d172b15bb9adb303867bc9639.zip gcc-1200489c4624638d172b15bb9adb303867bc9639.tar.gz gcc-1200489c4624638d172b15bb9adb303867bc9639.tar.bz2 |
re PR fortran/33862 (Support .FTN file extension for Fortran fixed-format source files)
2007-10-27 Tobias Burnus <burnus@net-b.de>
PR fortran/33862
* lang-specs.h: Support .ftn and .FTN extension, use CPP for .FOR.
* options.c (form_from_filename): Support .ftn extension.
* gfortran.texi: Document support of .for and .ftn file extension.
From-SVN: r129680
Diffstat (limited to 'gcc/fortran/options.c')
-rw-r--r-- | gcc/fortran/options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c index b2c17dc..bfd0da0 100644 --- a/gcc/fortran/options.c +++ b/gcc/fortran/options.c @@ -161,6 +161,9 @@ form_from_filename (const char *filename) ".for", FORM_FIXED} , { + ".ftn", FORM_FIXED} + , + { "", FORM_UNKNOWN} }; /* sentinel value */ |