Generate octal char constants instead of ints for LLsets

This commit is contained in:
ceriel 1994-04-12 13:53:38 +00:00
parent 8a670148e4
commit 958aced01b

View file

@ -332,7 +332,7 @@ prset(p) p_set p; {
for (;;) { for (;;) {
i = (unsigned) *p++; i = (unsigned) *p++;
for (k = 0; k < sizeof(int); k++) { for (k = 0; k < sizeof(int); k++) {
fprintf(fpars,"0%o,",(int)(i & 0377)); fprintf(fpars,"'\\%o',",(int)(i & 0377));
i >>= 8; i >>= 8;
if (--j == 0) { if (--j == 0) {
fputs("\n",fpars); fputs("\n",fpars);