[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error UTF-8 strings

From: Hans Åberg
Subject: Re: Error UTF-8 strings
Date: Sun, 21 Jun 2020 10:19:14 +0200

> On 21 Jun 2020, at 07:59, Akim Demaille <akim@lrde.epita.fr> wrote:
> Hi Hans,
>> Le 20 juin 2020 à 22:54, Hans Åberg <haberg-1@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?

  %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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]