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: Akim Demaille
Subject: Re: Token value in custom error reporting
Date: Thu, 18 Jun 2020 08:39:45 +0200


> Le 18 juin 2020 à 07:49, Daniele Nicolodi <daniele@grinta.net> a écrit :
> 
> 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.

Would you have an example of what you mean?


reply via email to

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