fixed bug with -j option
authorceriel <none@none>
Thu, 28 Feb 1991 14:48:17 +0000 (14:48 +0000)
committerceriel <none@none>
Thu, 28 Feb 1991 14:48:17 +0000 (14:48 +0000)
util/LLgen/src/gencode.c

index 89e5902..bc2edea 100644 (file)
@@ -1107,7 +1107,7 @@ out_list(tokenlist, listno, casecnt)
                fprintf(f, "%c%d,", i % 10 == 0 ? '\n': ' ', tokenlist[i]);
        }
        fputs(c_arrend, f);
-       fprintf(f, "switch(LL%d_tklist[LLcsymb]) {\n", listcount);
+       fprintf(f, "switch(LL%d_tklist[LLcsymb]) {\n", listno);
 }
 
 STATIC