OSDN Git Service

2005-11-30 Bernhard Fischer <rep.nop@aon.at>
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 2005 23:57:44 +0000 (23:57 +0000)
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 2005 23:57:44 +0000 (23:57 +0000)
commit8301615623327972c6ad5dd1b14ec3d959381d4f
tree2c79d3d03822356a4f0ab0c7c7b6c42b8f03862a
parent3d37b978e5c46b41d7046d0b31ce81ca6c4b42eb
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107745 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/fortran/scanner.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/line_length_1.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/line_length_2.f90 [new file with mode: 0644]