Re: Visual Studio - win_bison creates tab.h file exceeding compiler limits

Jot Dot <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
It works. 

Sorry about the delay: Had to install cygwin. Had issues. Had to remember 'nix and how to build the bison source. Ouch. 
Yes I know I could have sent you my .y file but this way I learned something about what I should have learned ages ago. 
I looked for the YY_ASSERTs in the generated header - no more long lines - great! 

Thanks 


From: "Akim Demaille" <[email protected]> 
To: "Jot Dot" <[email protected]> 
Cc: "Bison Bugs" <[email protected]> 
Sent: Wednesday, November 11, 2020 9:46:15 AM 
Subject: Re: Visual Studio - win_bison creates tab.h file exceeding compiler limits 

Jot, 

Could you please try the following beta to make sure it fixes your problem? 

https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.3.15-f4e85.tar.gz 
https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.3.15-f4e85.tar.lz 
https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.3.15-f4e85.tar.xz 

You don't have to install this version of Bison to try it: you can 
just compile it and use ./tests/bison. 

It would be most useful to try *with assertions enabled*. Either 
paste "%define parse.assert" in your grammar file, or pass the option 
-Dparse.assert on the command line. 

If that's possible for you, you may also send me privately your 
file, and I'll send the generated output back to you, to make 
sure Visual C++ likes it. 

Thanks in advance!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.