[Patch, libgfortran] Fix PR26554 incorrect behaviour when reading a logical variable from a string
Jerry DeLisle
jvdelisle@verizon.net
Sun Mar 5 00:07:00 GMT 2006
The attached patch fixes this PR. In order to handle the namelist reads in
pr26136 we need to read ahead to see if there is an equal sign. We should not
keep looking if we are not in namelist mode.
I will commit this with a test case under simple and obvious rule tomorrow
unless otherwise notified.
Regards,
Jerry
2006-03-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26554
* io/list_read.c (read_logical): Return the value if not in namelist
mode.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr26554.diff
Type: text/x-patch
Size: 1751 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20060305/4f99821e/attachment.bin>
More information about the Fortran
mailing list