re PR fortran/35882 (Miscounted continuation lines when interspersed with data)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 14 Apr 2008 00:43:32 +0000 (00:43 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Mon, 14 Apr 2008 00:43:32 +0000 (00:43 +0000)
commitdfbfb6301cf57551b13e2db2c7eabc32b67c30ba
tree2db815be26d6bb01b303596a05c9f1e2c07423c3
parente7d95f6fdaf08bdffbf63230063ad1fba98c071c
re PR fortran/35882 (Miscounted continuation lines when interspersed with data)

2008-04-13  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
    Tobias Burnus  <burnus@net-b.de>

PR fortran/35882
* options.c (gfc_init_options): Set the default maximum continuation
lines to 255 for both free and fixed form source for warnings.
(gfc_handle_option): Set -std=f95 fixed form max continuations to 19 and
the -std=f95 free form max continuations to 39 for warnings.
* scanner.c (gfc_next_char_literal): Adjust the current_line number only
if it is less than the current locus.

Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r134251
gcc/fortran/ChangeLog
gcc/fortran/options.c
gcc/fortran/scanner.c