re PR fortran/19262 (more than thirty-nine continuation lines should issue a std...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 3 Oct 2006 03:58:20 +0000 (03:58 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 3 Oct 2006 03:58:20 +0000 (03:58 +0000)
commit5a06474ce9fc9e586e3ae5a51bed465335dc3c75
treee74b55da3e465b70067b338b94f7b616d7926f52
parent2834a5fe89e275ce695eaf2a64bb99f3cdc76dd3
re PR fortran/19262 (more than thirty-nine continuation lines should issue a std-warn)

2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR fortran/19262
    * gfortran.h (gfc_option_t): Add max_continue_fixed and max_continue_free.
    * options.c (gfc_init_options): Initialize fixed form and free form
    consecutive continuation line limits.
    * scanner.c (gfc_scanner_init_1): Initialize continue_line
    and continue_count. (gfc_next_char_literal): Count the number of
    continuation lines in the current statement and warn if
    limit is exceeded.

2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR fortran/19260
    * scanner.c (gfc_next_char_literal): Add check for missing '&'
    and warn if in_string, otherwise return ' '.

From-SVN: r117384
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/options.c
gcc/fortran/scanner.c