🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1812

bison vs GNU C++

#1812
From: Michael Tiemann
Date: Thu, 30 Mar 1989 05:22
20 lines
1056 bytes
If you get parse errors when you use the latest copy of bison to make
cplus-parse.tab.c, this fix to bison will solve those problems:

yahi% diff -c2 reader.c~ reader.c
*** reader.c~	Wed Mar  1 09:37:33 1989
--- reader.c	Wed Mar 29 14:02:15 1989
***************
*** 124,128 ****
    /* fattrs winds up in the .tab.c file, before bison.simple.  */
    fprintf(fattrs, LTYPESTR);
!   if (yylsp_needed)
      {
        if (fdefines)
--- 124,129 ----
    /* fattrs winds up in the .tab.c file, before bison.simple.  */
    fprintf(fattrs, LTYPESTR);
!   /* tiemann fixed bug here.  */
!   if (1 || yylsp_needed)
      {
        if (fdefines)
Technical Details
Message-ID: <8903300522.AA04485@yahi.stanford.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!mdt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!mdt
From: mdt@YAHI.STANFORD.EDU (Michael Tiemann)
Newsgroups: gnu.g++.bug
Subject: bison vs GNU C++
Message-ID: <8903300522.AA04485@yahi.stanford.edu>
Date: 30 Mar 89 05:22:58 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@lurch.stanford.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20