public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a67014
)
Generate octal char constants instead of ints for LLsets
author
ceriel
<none@none>
Tue, 12 Apr 1994 13:53:38 +0000
(13:53 +0000)
committer
ceriel
<none@none>
Tue, 12 Apr 1994 13:53:38 +0000
(13:53 +0000)
util/LLgen/src/gencode.c
patch
|
blob
|
history
diff --git
a/util/LLgen/src/gencode.c
b/util/LLgen/src/gencode.c
index
23c7001
..
ed4a746
100644
(file)
--- 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);