Skip to content
Snippets Groups Projects
Commit ac64eec4 authored by Jerry DeLisle's avatar Jerry DeLisle
Browse files

re PR fortran/42852 (gfortran -Wall warns about truncated lines when only a...

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
parent af8e1802
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment