summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/nano-vfscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/nano-vfscanf.c')
-rw-r--r--newlib/libc/stdio/nano-vfscanf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c
index 6a827567a..cc2fdf195 100644
--- a/newlib/libc/stdio/nano-vfscanf.c
+++ b/newlib/libc/stdio/nano-vfscanf.c
@@ -423,9 +423,9 @@ _DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
return EOF;
#ifdef FLOATING_POINT
- case 'e':
- case 'f':
- case 'g':
+ case 'e': case 'E':
+ case 'f': case 'F':
+ case 'g': case 'G':
scan_data.code = CT_FLOAT;
break;
#endif