Commit 943bf8b5 by Victor Leikehman Committed by Steven Bosscher

Commit for Victor Leikehman <lei@il.ibm.com>

	PR libgfortran/16704
	* io/read.c (read_radix): Understand letters f and F as hex digits.

From-SVN: r85596
parent ea5f7a19
2004-08-05 Victor Leikehman <lei@il.ibm.com>
PR libgfortran/16704
* io/read.c (read_radix): Understand letters f and F as hex digits.
2004-08-04 Victor Leikehman <lei@il.ibm.com>
* libgfortran.h (array_t, size0) New declarations.
......
......@@ -526,6 +526,7 @@ read_radix (fnode * f, char *dest, int length, int radix)
case 'c':
case 'd':
case 'e':
case 'f':
c = c - 'a' + '9' + 1;
break;
......@@ -534,6 +535,7 @@ read_radix (fnode * f, char *dest, int length, int radix)
case 'C':
case 'D':
case 'E':
case 'F':
c = c - 'A' + '9' + 1;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment