diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-01-12 17:34:22 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-01-12 17:34:22 +0000 |
commit | f668c81cda01a89410ae4b02364065be5b34cfc2 (patch) | |
tree | 68a380ebaa22916925253a080e8f0cb322ea207d /gcc/cccp.c | |
parent | e8fe510b139dc2f159d3396be28bf092c31818a0 (diff) | |
download | gcc-f668c81cda01a89410ae4b02364065be5b34cfc2.zip gcc-f668c81cda01a89410ae4b02364065be5b34cfc2.tar.gz gcc-f668c81cda01a89410ae4b02364065be5b34cfc2.tar.bz2 |
cccp.c: Accept and ignore -lang-fortran.
* cccp.c: Accept and ignore -lang-fortran.
* f/lang-specs.h: Pass -lang-fortran to preprocessor.
From-SVN: r31355
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r-- | gcc/cccp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1123,6 +1123,7 @@ print_help () printf (" -lang-objc Assume that the input sources are in ObjectiveC\n"); printf (" -lang-objc++ Assume that the input sources are in ObjectiveC++\n"); printf (" -lang-asm Assume that the input sources are in assembler\n"); + printf (" -lang-fortran Assume that the input sources are in Fortran\n"); printf (" -lang-chill Assume that the input sources are in Chill\n"); printf (" -std=<std name> Specify the conformance standard; one of:\n"); printf (" gnu89, gnu9x, c89, c9x, iso9899:1990,\n"); @@ -1457,6 +1458,8 @@ main (argc, argv) cplusplus = 1, cplusplus_comments = 1, c89 = 0, c9x = 0, objc = 1; else if (! strcmp (argv[i], "-lang-asm")) lang_asm = 1; + else if (! strcmp (argv[i], "-lang-fortran")) + /* Doesn't actually do anything. */ ; else if (! strcmp (argv[i], "-lint")) for_lint = 1; break; |