* newlib/libc/stdio/nano-vfscanf.c: Fix '%F', '%G' and '%E' specifiers processing

This commit is contained in:
Igor Venevtsev 2016-02-02 13:50:09 +03:00 committed by Corinna Vinschen
parent c2a27453c6
commit fa08ba8b23

View File

@ -423,9 +423,9 @@ _DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
return EOF; return EOF;
#ifdef FLOATING_POINT #ifdef FLOATING_POINT
case 'e': case 'e': case 'E':
case 'f': case 'f': case 'F':
case 'g': case 'g': case 'G':
scan_data.code = CT_FLOAT; scan_data.code = CT_FLOAT;
break; break;
#endif #endif