Re: Error UTF-8 strings

Hans Åberg <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
> On 21 Jun 2020, at 11:45, Akim Demaille <[email protected]> wrote:
> 
> Hi Hans,

Hello,

>> Le 21 juin 2020 à 10:19, Hans Åberg <[email protected]> a écrit :
>> 
>> 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.
> 
> I need details.  What skeleton?  

%skeleton "lalr1.cc"

> What options for parse.error?  

%define parse.error verbose

> What locale are you using?

LC_CTYPE=UTF-8

> If you want some support, give us something we can actually work on.
> 
> Give me something reproducible.  I'll disregard anything else.

It is embedded in a grammar about the size of C++98, so it will take some time to figure out a smaller example.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.