bruce@heather.pooh.com (Bruce Robertson) (03/19/89)
Two bugs, actually. The first "bug" is that the README file asks you to mention the version and date from the ChangeLog file in bug reports, but there is no ChangeLog file in the tar file. The second problem shows up when compiling with GCC, as opposed to compiling with a "traditional" compiler. An external variable is declared in a function other than the one in which it is referenced. Here's a context diff: *** ORIG/reduce.c Sat Mar 18 20:24:32 1989 --- reduce.c Sat Mar 18 20:24:46 1989 *************** *** 112,118 **** reduce_grammar () { bool reduced; - extern int fixed_outfiles; /* Allocate the global sets used to compute the reduced grammar */ --- 112,117 ---- *************** *** 540,545 **** --- 539,546 ---- static void print_notices () { + extern int fixed_outfiles; + if (fixed_outfiles && nuseless_productions) fprintf(stderr, "%d rules never reduced\n", nuseless_productions);