[patch, fortran] Pr35882 Miscounted continuation lines when interspersed with data
Jerry DeLisle
jvdelisle@verizon.net
Sun Apr 20 19:07:00 GMT 2008
:ADDPATCH fortran:
This patch takes care of the situation where we have intervening comments
between continuation lines. The fixed form situation is a bit more complicated.
Regardless, it amounts to updating the continue_line number for each case
where comments are encountered.
Regression tested on x86-64. Patch includes updates to two test cases.
OK to commit?
Jerry
2008-04-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/35882
* scanner.c (skip_fixed_comments): Update continue_line when comment is
detected. (gfc_next_char_literal): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr35882-2.diff
Type: text/x-patch
Size: 2794 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080420/df4e0edf/attachment.bin>
More information about the Fortran
mailing list