[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Missing C++ comparison operators in location and position after upgradin
From: |
Yuriy Solodkyy |
Subject: |
Missing C++ comparison operators in location and position after upgrading from bison 3.6.3 to 3.8.2 |
Date: |
Fri, 17 Feb 2023 23:16:31 +0000 (UTC) |
Hi,
My code was relying on operator== generated in both position and location 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 source code of
location skeleton here that those are guarded by
`b4_percent_define_flag_if([[define_location_comparison]]` but I can't find
anywhere in the documentation on how to enable those. I've tried:
%define location.comparison%define location_comparison%define location
comparison
all unsuccessfully. How do I bring back the old behavior that generated those
comparison operators? Does bison documentation need to be updated to reflect
that?
Thank you!Yuriy Solodkyy
|
|
| |
location.cc\skeletons\data - bison.git - GNU bison (git mirror)
|
|
|
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Missing C++ comparison operators in location and position after upgrading from bison 3.6.3 to 3.8.2,
Yuriy Solodkyy <=