On 05/04/2013 05:13 PM, Jerry DeLisle wrote:
> The attached patch resolves this PR by treating '!', the Fortran comment mark,
> as a valid separator between values.  Thus, when encountered while reading a
> value, the read is ended normally with whatever value was encountered.  This 
> is
> an extension beyond the Standards which require a separator before a comment 
> mark.
> 
> I must emphasize that extensions like this are no guarantee of portability
> across compilers.  Users should use well formed namelists always.
> 
> Regression tested on x86-64. Test case attached.  OK for trunk?
> 
> Regards,
> 
> Jerry
> 

BTW Here is the ChangeLog entry

2013-05-04  Jerry DeLisle  <jvdeli...@gcc.gnu.org>

        PR libfortran/56743
        * io/list_read.c (read_integer): Treat '!' as a separator.
        (read_real): Likewise.

Reply via email to