[patch, libgfortran] PR36657 Namelist string constant immediately followed by comment
Jerry DeLisle
jvdelisle@verizon.net
Sat Jun 28 21:43:00 GMT 2008
I plan to commit the attached patch under obvious and simple rule.
This takes care of the test case in the PR as well as following the namelist
name immediately with a comment. Strictly speaking, the namelist name is
required to have a space following it. We provide more flexibility here.
Regression tested on x86-64 and will apply the OP test case to the test suite.
Regards,
Jerry
2008-06-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/36657
* io/list_read.c (read_character): Check for '!' along with separators.
(find_nml_name): Likewise and eat the comment if found.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36657.diff
Type: text/x-patch
Size: 865 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080628/1bb1ec84/attachment.bin>
More information about the Fortran
mailing list