This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] PR34324 - Module files on CRLF systems


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]