home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,481 of 2,753   
   Philipp Klaus Krause to All   
   Re: Why do some versions of bison requir   
   03 Jan 19 09:15:25   
   
   From: pkk@spth.de   
      
   Am 01.01.19 um 10:55 schrieb Philipp Klaus Krause:   
   > [Adding the empty action forces bison to reduce the rule rather than just   
   > shifting and saving state for later.  I couldn't guess why that would matter   
   > in this case.  Are there precedence rules?  With your change does the   
   grammar compile   
   > cleanly or does it have conflicts? -John]   
   >   
      
   Well, for me (but I don't see the problem without the {} on my system -   
   GNU bison 3.2.2 on Debian GNU/Linux), both with and without {}, when using   
   LANG=C bison -W -y -d SDCC.y   
   I get 7 warning about "empty rule without %empty", but no other   
   warnings. The people reporting issues seem to be using GNU bison on   
   Microsoft Windows.   
      
   Philipp   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca