[patch, fortran] PR34324 - Module files on CRLF systems
Tobias Burnus
burnus@net-b.de
Thu Dec 13 20:40:00 GMT 2007
Daniel Franke wrote:
> Back to business :)
>
Great!
> Up to now, the module parser does not like '\r' characters in the input stream
> and aborts at such. The fix is to ignore these characters, as done in
> scanner.c (load_line).
>
I wonder why this error did not show up before.
> :ADDPATCH fortran:
>
Currently, the patch tracker is down ...
> 2007-12-13 Daniel Franke <franke.daniel@gmail.com>
>
> PR fortran/34324
> * module.c (parse_atom): Fixed parsing of modules files which lines are
> terminated by CRLF.
>
OK for the trunk.
> fails on bind_c_usage_16.f03, also to be seen here [1]
>
This is PR 34246, which has a patch here:
http://gcc.gnu.org/ml/fortran/2007-12/msg00134.html
Is there someone really brave who can review it?
> maybe someone with a native CRLF system could double-check?!
>
That would be indeed helpful.
Thanks for the patch,
Tobias
More information about the Fortran
mailing list