[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?
- Token value in custom error reporting, Daniele Nicolodi, 2020/06/17
- Re: Token value in custom error reporting, Akim Demaille, 2020/06/18
- Re: Token value in custom error reporting, Hans Åberg, 2020/06/18
- Re: Token value in custom error reporting, Akim Demaille, 2020/06/18
- Re: Token value in custom error reporting, Hans Åberg, 2020/06/18
- Re: Token value in custom error reporting, Akim Demaille, 2020/06/18
- Re: Token value in custom error reporting, Hans Åberg, 2020/06/18
- Re: Token value in custom error reporting, Akim Demaille, 2020/06/19