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!