[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Visual Studio - win_bison creates tab.h file exceeding compiler limi
From: |
Jot Dot |
Subject: |
Re: Visual Studio - win_bison creates tab.h file exceeding compiler limits |
Date: |
Wed, 11 Nov 2020 14:05:53 -0700 (MST) |
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" <akim@lrde.epita.fr>
To: "Jot Dot" <jotdot@shaw.ca>
Cc: "Bison Bugs" <bug-bison@gnu.org>
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!