re PR fortran/24268 (gfortran rejects valid format statement)

2005-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/24268
	* io.c (format_lex): Allow whitespace within text of format specifier.

From-SVN: r108695
This commit is contained in:
Jerry DeLisle 2005-12-16 23:44:14 +00:00
parent 6dc5dc3138
commit 1c8745ce8d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/24268
* io.c (format_lex): Allow whitespace within text of format specifier.
2005-12-16 Steven G. Kargl <kargls@comcast.net>
PR fortran/25106

View File

@ -233,7 +233,7 @@ format_lex (void)
if (ISDIGIT (c))
value = 10 * value + c - '0';
}
while (ISDIGIT (c));
while (ISDIGIT (c) || gfc_is_whitespace(c));
unget_char ();
token = zflag ? FMT_ZERO : FMT_POSINT;