help-bison
[Top][All Lists]
Advanced

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

Re: Token value in custom error reporting


From: Daniele Nicolodi
Subject: Re: Token value in custom error reporting
Date: Wed, 17 Jun 2020 23:49:14 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Hi Akim,

On 17/06/2020 23:43, Akim Demaille wrote:
> I think it's a mistake to try to use the semantic value in error messages.

The goal would not be to use the semantic value in the error message,
but to use additional context attached to the token by the lexer to
decide how to report the error.

Thank you.

Cheers,
Dan



reply via email to

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