This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] PR34324 - Module files on CRLF systems
- From: Tobias Burnus <burnus at net-b dot de>
- To: Daniel Franke <franke dot daniel at gmail dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 13 Dec 2007 21:39:40 +0100
- Subject: Re: [patch, fortran] PR34324 - Module files on CRLF systems
- References: <200712132111.17552.franke.daniel@gmail.com>
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