From 62f6b712e7e65c4832d37431b8d26c1c3c62ab31 Mon Sep 17 00:00:00 2001 From: Stephen Heumann <stephenheumann@gmail.com> Date: Tue, 27 Feb 2018 21:39:49 -0600 Subject: [PATCH] Add support for 'F', 'a', and 'A' conversion specifiers for scanf (C99). These all behave identically to 'f'. Note that none of these accept the hexadecimal floating-point representation as input, which they should under C99. --- stdio.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdio.asm b/stdio.asm index 886fa62..35f5aec 100644 --- a/stdio.asm +++ b/stdio.asm @@ -5106,7 +5106,10 @@ fList dc c'd',i1'0',a'~Scan_d' d dc c's',i1'0',a'~Scan_s' s dc c'b',i1'0',a'~Scan_b' b dc c'n',i1'0',a'~Scan_n' n + dc c'a',i1'0',a'~Scan_f' a + dc c'A',i1'0',a'~Scan_f' A dc c'f',i1'0',a'~Scan_f' f + dc c'F',i1'0',a'~Scan_f' F dc c'e',i1'0',a'~Scan_f' e dc c'E',i1'0',a'~Scan_f' E dc c'g',i1'0',a'~Scan_f' g