re PR fortran/14569 ([4.0 only] should not warn about truncated comment lines)
authorRichard Guenther <rguenth@gcc.gnu.org>
Fri, 15 Apr 2005 20:35:26 +0000 (20:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Apr 2005 20:35:26 +0000 (20:35 +0000)
commitba1defa540feb70b515dd5d19ec8193d4bc37325
treea87dbb76a3b350867698fa6a6d1a17b4d4d0a473
parent472573f9f92704b3a9bb861bbb31e2ef8d14ff53
re PR fortran/14569 ([4.0 only] should not warn about truncated comment lines)

2005-04-15  Richard Guenther  <rguenth@gcc.gnu.org>

PR fortran/14569
* gfortran.h (gfc_linebuf): Add truncated field.
* parse.c (next_statement): Handle warning for truncated
lines.
* scanner.c (load_line): Return if line was truncated.
No longer warn for truncated lines.  Remove unused parameters.
(load_file): Store load_line return value to linebuf.
(gfc_error_recovery): Do not advance line at the end.

From-SVN: r98210
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/parse.c
gcc/fortran/scanner.c