re PR fortran/16465 (parser chokes with ffixed-line-length-7)
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sun, 18 Jul 2004 13:00:34 +0000 (15:00 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sun, 18 Jul 2004 13:00:34 +0000 (15:00 +0200)
commitf56c5d5d5bd85f893847ee74885ac2f17172b918
tree24c3eb4bb41b68910dfda108e20201c7d79da360
parent9cdc381b1ac0289703497f510cdcdb5a08f26ec8
re PR fortran/16465 (parser chokes with ffixed-line-length-7)

PR fortran/16465
* lang.opt (ffixed-line-length-none, ffixed-line-length-): New
options.
(ffixed-line-length-80, ffixed-line-length-132): Remove.
* options.c (gfc_handle_options): Deal with changed options.
* scanner.c (load_line): Change second arg to 'char **',
allocate if pointing to NULL. Keep track of buffer's length.
Adapt buffer size to overlong lines. Pad lines to full length
in fixed form.
(load_file): Adapt to new interface of load_line.

From-SVN: r84891
gcc/fortran/ChangeLog
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/fortran/scanner.c