Files
bison/tests
Akim Demaille 1b70f687fa diagnostics: fix styling issues
Single point locations (equal boundaries) are troublesome, and we were
incorrectly ending the style in their case.  Which results in an abort
in libtextstyle.

There is also a confusion between columns as displayed on the
screen (which take into account multibyte characters and tabulations),
and the number of bytes.  Counting the screen-column
incrementally (character by character) is uneasy (because of multibyte
characters), and I don't want to maintain a buffer of the current line
when displaying the diagnostic.  So I believe the simplest solution is
to track the byte number in addition to the screen column.

* src/location.h, src/location.c (boundary): Add the byte-column.
Adjust dependencies.
* src/getargs.c, src/scan-gram.l: Adjust.
* tests/diagnostics.at: Check zero-width locations.
2019-04-23 18:29:10 +02:00
..
2019-02-21 06:46:07 +01:00
2019-04-19 20:16:32 +02:00
2019-02-21 17:46:11 +01:00
2019-04-19 20:16:32 +02:00
2019-04-23 18:29:10 +02:00
2019-02-09 08:23:50 +01:00
2019-04-19 20:16:32 +02:00
2019-04-03 19:20:39 +02:00
2019-03-30 10:10:39 +01:00
2019-04-23 18:29:10 +02:00
2019-02-21 06:46:07 +01:00
2019-02-21 17:46:11 +01:00
2019-02-09 08:23:50 +01:00
2019-03-13 08:21:34 +01:00
2019-02-09 08:23:50 +01:00
2019-03-30 10:10:39 +01:00
2019-04-23 18:29:10 +02:00
2019-02-21 17:46:11 +01:00