mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
C++: finish propagating the unsigned->signed conversion in locations
* data/skeletons/location.cc: Remove the u (for unsigned) suffix from the initial line and column. * NEWS: AFAICT, only C++ backends have their location types changed.
This commit is contained in:
7
NEWS
7
NEWS
@@ -8,9 +8,10 @@ GNU Bison NEWS
|
||||
longer treated as end-of-lines. This changes the diagnostics, and in
|
||||
particular their locations.
|
||||
|
||||
Line numbers and columns are now represented as 'int' not 'unsigned',
|
||||
so that integer overflow on positions is easily checkable via 'gcc
|
||||
-fsanitize=undefined' and the like. This affects the API for positions.
|
||||
In C++, line numbers and columns are now represented as 'int' not
|
||||
'unsigned', so that integer overflow on positions is easily checkable via
|
||||
'gcc -fsanitize=undefined' and the like. This affects the API for
|
||||
positions.
|
||||
|
||||
** Bug fixes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user