Mail Archives: djgpp-workers/2003/11/23/05:47:11
According to Richard Dawe:
> --- /dev/null 2003-11-17 21:42:17.000000000 +0000
> +++ tests/libc/ansi/stdio/sscanf3.c 2003-11-17 21:19:26.000000000 +0000
> +sscanf_testcase_t sscanf_testcases[] = {
> + /* No assignment */
> + { "", "%*[0123456789]%*c", EOF, "", "" },
> + { "X", "%*[0123456789]%*c", 0, "", "" },
> + { "1", "%*[0123456789]%*c", EOF, "", "" },
> + { "1X2", "%*[0123456789]%*[0123456789]", 0, "", "" },
> + { "1,2", "%*[0123456789],%*[0123456789]", 0, "", "" },
It's not a big deal, but how about aligning the columns:
{ "", "%*[0123456789]%*c", EOF, "", "" },
{ "X", "%*[0123456789]%*c", 0, "", "" },
{ "1", "%*[0123456789]%*c", EOF, "", "" },
{ "1X2", "%*[0123456789]%*[0123456789]", 0, "", "" },
{ "1,2", "%*[0123456789],%*[0123456789]", 0, "", "" },
Right,
MartinS
- Raw text -