Generate octal char constants instead of ints for LLsets
This commit is contained in:
parent
8a670148e4
commit
958aced01b
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue