From c41f63a4c8912ba1d2c3e3e0c5be332f1e252966 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 20 Nov 1987 12:57:51 +0000 Subject: [PATCH] %[...] did not work --- lang/cem/libcc/stdio/doscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/libcc/stdio/doscan.c b/lang/cem/libcc/stdio/doscan.c index 8a7223795..48c8883ab 100644 --- a/lang/cem/libcc/stdio/doscan.c +++ b/lang/cem/libcc/stdio/doscan.c @@ -195,7 +195,7 @@ union ptr_union *argp; /* our argument list */ for (c = Xtable; c < &Xtable[128]; c++) *c = 0; } while (*format && *format != ']') { - Xtable[*format] = 1; + Xtable[*format++] = 1; } if (!*format) goto quit; -- 2.34.1