Hi,

Thank you for your reply. See the input file, ApReadBinary.ypp (I have reduced it greatly from the original).  The HPP file has the bad line at line # 3900 - the YY_ASSERT is too long.

The key parameters in the YPP file seem to be:

%language "c++"
%define parse.assert

Thank you very much for your help!
--Vince--



On 8/21/2021 12:54 AM, Akim Demaille wrote:
Hi Vince,

Le 20 août 2021 à 21:39, Vince Huffaker <vi...@vincejulie.com> a écrit :

Hi,

I know this has been a known bug, but it says that it is fixed, and we just 
installed the latest bison, 3.7.6 (from cygwin).  We are building a YPP file 
and getting this error on a YY_ASSERT line that has lots of tokens in it.

Was this bug fixed?
Yes, it was.  Please see 
<https://lists.gnu.org/r/bison-patches/2020-11/msg00050.html> for details.  And 
check in your output file that it was indeed generated by 3.7.6.

Do we have some weirdness in our code that sneaks past the fix?  If you just 
need to look at the YPP file, how shall I get that to you?
An attachment to your mail, or a URL.  A reduced example (grammar file and bad 
output from bison) would be most useful.

Cheers.

<<attachment: ApReadBinary.zip>>

Reply via email to