Missing C++ comparison operators in location and position after upgrading from bison 3.6.3 to 3.8.2

Yuriy Solodkyy via "Bug reports for Bison, the GNU parser generator" <[email protected]> Fri, 17 Feb 2023 23:16:31 +0000 (UTC)
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Hi,
My code was relying on operator=3D=3D generated in both position and locati=
on and used to compile fine in Bison 3.6.3. I have recently upgraded to 3.8=
.2 and am now getting errors on the use of such operators. I see in the sou=
rce code of location skeleton here that those are guarded by `b4_percent_de=
fine_flag_if([[define_location_comparison]]` but I can't find anywhere in t=
he documentation on how to enable those. I've tried:=C2=A0
%define location.comparison%define location_comparison%define location comp=
arison
all unsuccessfully. How do I bring back the old behavior that generated tho=
se comparison operators? Does bison documentation need to be updated to ref=
lect that?
Thank you!Yuriy Solodkyy

|=20
|=20
|  |=20
location.cc\skeletons\data - bison.git - GNU bison (git mirror)


 |

 |

 |