[patch, libgfortran] PR36546 Namelist error with tab following a comma and newline
Jerry DeLisle
jvdelisle@verizon.net
Tue Jun 17 03:41:00 GMT 2008
I plan to commit the following patch and attached test case as obvious/simple
Jerry
2008-06-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/36546
* io/list_read.c (namelist_read): Add tab character to condition
for looping past whitespace.
Index: io/list_read.c
===================================================================
--- io/list_read.c (revision 136821)
+++ io/list_read.c (working copy)
@@ -366,7 +366,7 @@ eat_separator (st_parameter_dt *dtp)
}
}
}
- while (c == '\n' || c == '\r' || c == ' ');
+ while (c == '\n' || c == '\r' || c == ' ' || c == '\t');
unget_char (dtp, c);
}
break;
More information about the Gcc-patches
mailing list