🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bruce Robertson Sun, 19 Mar 1989 04:26
Bug in latest bison
#1510
Author: Bruce Robertson
Date: Sun, 19 Mar 1989 04:26
33 lines
1342 bytes
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);
  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads