output with better layout

This commit is contained in:
ceriel 1988-07-12 15:02:38 +00:00
parent ccbf4f0cf6
commit 2a3a417a29

View file

@ -82,7 +82,7 @@ printhashtable() {
fputs("int hashany[] = { ", genc);
prhlist(hashtable[128]);
fputs("-1 };\n",genc);
fputs("int *hashtab[] = {",genc);
for (i = 1; i <= 128; i++) fprintf(genc,"hash%d,",i);
fputs("hashany};\n",genc);
fputs("int *hashtab[] = {\n",genc);
for (i = 1; i <= 128; i++) fprintf(genc,"\thash%d,\n",i);
fputs("\thashany\n};\n",genc);
}