🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1510

Bug in latest bison

#1510
From: 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);
  
Technical Details
Message-ID: <m0f1uN7-0008gyC@heather.pooh.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!heather.pooh.com!bruce

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!heather.pooh.com!bruce
From: bruce@heather.pooh.com (Bruce Robertson)
Newsgroups: gnu.utils.bug
Subject: Bug in latest bison
Message-ID: <m0f1uN7-0008gyC@heather.pooh.com>
Date: 19 Mar 89 04:26:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 33