diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2010-07-25 15:07:45 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2010-07-25 15:07:45 +0000 |
commit | ac64eec40cd1d2ab07b24e1b077d35d05c9dd2de (patch) | |
tree | 6784d2dcd7365cf5faef8a9bb3e4178b7f5eef52 /gcc/fortran/parse.c | |
parent | af8e1802e1d235b67a0b1056ce34df3c44a23f53 (diff) | |
download | gcc-ac64eec40cd1d2ab07b24e1b077d35d05c9dd2de.zip gcc-ac64eec40cd1d2ab07b24e1b077d35d05c9dd2de.tar.gz gcc-ac64eec40cd1d2ab07b24e1b077d35d05c9dd2de.tar.bz2 |
re PR fortran/42852 (gfortran -Wall warns about truncated lines when only a continuation character is truncated)
2010-07-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/42852
* scanner.c (gfc_next_char_literal): Move check for truncation earlier
in the function so that it does not get missed by early exits.
(load_line): Add checks for quoted strings and free form comments to
disable warnings on comments. Add check for ampersand as first
character after truncation and don't warn for this case, but warn if
there are subsequent non-whitespace characters.
From-SVN: r162512
Diffstat (limited to 'gcc/fortran/parse.c')
0 files changed, 0 insertions, 0 deletions