From 958aced01b603233b09cdc869ebcc33b30d1bed5 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 12 Apr 1994 13:53:38 +0000 Subject: [PATCH] Generate octal char constants instead of ints for LLsets --- util/LLgen/src/gencode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/LLgen/src/gencode.c b/util/LLgen/src/gencode.c index 23c700103..ed4a74634 100644 --- a/util/LLgen/src/gencode.c +++ b/util/LLgen/src/gencode.c @@ -332,7 +332,7 @@ prset(p) p_set p; { for (;;) { i = (unsigned) *p++; for (k = 0; k < sizeof(int); k++) { - fprintf(fpars,"0%o,",(int)(i & 0377)); + fprintf(fpars,"'\\%o',",(int)(i & 0377)); i >>= 8; if (--j == 0) { fputs("\n",fpars); -- 2.34.1