OSDN Git Service

2010-07-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Jul 2010 15:07:45 +0000 (15:07 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Jul 2010 15:07:45 +0000 (15:07 +0000)
commit8c3dcae8a9178b10d48f454f3614f1b77d8d6827
tree6784d2dcd7365cf5faef8a9bb3e4178b7f5eef52
parentcabeab11dc8a5a78e0c10ab9c6260711c2f870b4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162512 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/scanner.c