summaryrefslogtreecommitdiff
path: root/gcc/fortran/lang.opt
diff options
context:
space:
mode:
authorBernhard Fischer <rep.nop@aon.at>2005-12-01 00:57:44 +0100
committerSteven G. Kargl <kargl@gcc.gnu.org>2005-11-30 23:57:44 +0000
commit16ab8e74dad98cca30b431ae68b3926fe897aab4 (patch)
tree2c79d3d03822356a4f0ab0c7c7b6c42b8f03862a /gcc/fortran/lang.opt
parent4b860192e48ff466dc4975c9212e61e621fdb103 (diff)
downloadgcc-16ab8e74dad98cca30b431ae68b3926fe897aab4.tar.gz
re PR fortran/21302 (Max line length in free form mode)
2005-11-30 Bernhard Fischer <rep.nop@aon.at> PR fortran/21302 * lang.opt: New options -ffree-line-length- and -ffree-line-length-none. * gfortran.h: Add free_line_length and add description of free_line_length and fixed_line_length. * options.c (gfc_init_options, gfc_handle_option): Initialize and set free_line_length and fixed_line_length. * scanner.c (load_line): Set free_line_length to 132 and fixed_line_length to 72 or user requested values. * scanner.c: Typo in comment. * invoke.texi: Document -ffree-line-length- and -ffree-line-length-none gfortran.dg/line_length_1.f: New test: gfortran.dg/line_length_2.f90: Ditto. From-SVN: r107745
Diffstat (limited to 'gcc/fortran/lang.opt')
-rw-r--r--gcc/fortran/lang.opt8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
index 66f79db3bee..95388e5afe1 100644
--- a/gcc/fortran/lang.opt
+++ b/gcc/fortran/lang.opt
@@ -141,6 +141,14 @@ ffixed-line-length-
Fortran RejectNegative Joined UInteger
-ffixed-line-length-<n> Use n as character line width in fixed mode
+ffree-line-length-none
+Fortran RejectNegative
+Allow arbitrary character line width in free mode
+
+ffree-line-length-
+Fortran RejectNegative Joined UInteger
+-ffree-line-length-<n> Use n as character line width in free mode
+
fmax-identifier-length=
Fortran RejectNegative Joined UInteger
-fmax-identifier-length=<n> Maximum identifier length