re PR fortran/34324 (Module files on CRLF systems)

2007-12-14  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34324
        * module.c (parse_atom): Fixed parsing of modules files whose
        lines are terminated by CRLF.

From-SVN: r130928
This commit is contained in:
Daniel Franke 2007-12-14 05:25:12 -05:00 committed by Daniel Franke
parent cc79ab0e69
commit e96e22e379
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-12-14 Daniel Franke <franke.daniel@gmail.com>
PR fortran/34324
* module.c (parse_atom): Fixed parsing of modules files whose
lines are terminated by CRLF.
2007-12-13 Anton Korobeynikov <asl@math.spbu.ru>
* trans-decl.c (gfc_build_builtin_function_decls): Correct decl

View File

@ -1116,7 +1116,7 @@ parse_atom (void)
{
c = module_char ();
}
while (c == ' ' || c == '\n');
while (c == ' ' || c == '\r' || c == '\n');
switch (c)
{