[patch, fortram] PR64506 FORMAT Parse Error with Continuation Line
Tobias Burnus
burnus@net-b.de
Sun Feb 1 21:02:00 GMT 2015
Jerry DeLisle wrote:
> The attached patch fixes this issue.
> Regression tested on x86-64.
> New test case attached.
>
> OK for trunk?
Looks ok (together with a changelog for the test case).
However, I tried a similar fixed-form program and it failed similarly. I
think you need a similar fix (in the same function) for fixed-form
source code. See attachment for an example.
Tobias
> 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: foo.f
Type: text/x-fortran
Size: 265 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150201/06f65d14/attachment.bin>
More information about the Gcc-patches
mailing list