[patch, fortram] PR64506 FORMAT Parse Error with Continuation Line

Jerry DeLisle jvdelisle@charter.net
Sun Feb 1 12:44:00 GMT 2015


The attached patch fixes this issue.

Regression tested on x86-64.

New test case attached.

OK for trunk?

Regards,

Jerry

2015-02-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/64506
	* scanner.c (gfc_next_char_literal): Check for '!' and if found,
	clear the comment and go back and get the next character.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr64506.diff
Type: text/x-patch
Size: 795 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150201/fa0aa32d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: continuation_13.f90
Type: text/x-fortran
Size: 1048 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150201/fa0aa32d/attachment-0001.bin>


More information about the Fortran mailing list