From: ceriel Date: Tue, 12 Apr 1994 13:53:38 +0000 (+0000) Subject: Generate octal char constants instead of ints for LLsets X-Git-Tag: release-5-5~174 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=958aced01b603233b09cdc869ebcc33b30d1bed5;p=ack.git Generate octal char constants instead of ints for LLsets --- 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);