> On 21 Jun 2020, at 07:59, Akim Demaille <a...@lrde.epita.fr> wrote: > > Hi Hans, > >> Le 20 juin 2020 à 22:54, Hans Åberg <haber...@telia.com> a écrit : >> >> It seems that the writeout of error strings with UTF-8 have retrograded, >> because with Bison 3.6.3 I get: >> error: syntax error, unexpected "\302\260" >> >> I wrote a workaround code for this, and removed it when the issue seemed >> fixed, but now perhaps it should be put back again. > > Could you please give more details? How can I reproduce that?
Use %token <name> "<string>" where <string> has non-ASCII characters (high bit set), and trigger it in a syntax error, as the failing token or one of the expected ones.