Hi Hans,
> Le 9 nov. 2018 à 14:45, Hans Åberg a écrit :
>
>> On 9 Nov 2018, at 12:11, Akim Demaille wrote:
>>
>>> Le 9 nov. 2018 à 09:58, Hans Åberg a écrit :
>>>
>>>
On 9 Nov 2018, at 05:59, Akim Demaille wrote:
> By the way, I’ll still get the error message as a string I g
> On 10 Nov 2018, at 09:02, Akim Demaille wrote:
>
> Hi Hans,
Hello Akim,
> Yes. Some day we will work on improving error message generation,
> there is much demand.
One thing I’d like to have is if there is an error with say a identifier,
also writing the out the nam
> Le 10 nov. 2018 à 10:38, Hans Åberg a écrit :
>
>> Also, see if using %param does not already
>> give you what you need to pass information from the scanner to the
>> parser’s yyerror.
>
> How would that get into the yyerror function?
In C, arguments of %parse-param are passed to yyerror.
Alright, but
> On 8 Nov 2018, at 23:37, Hans Åberg wrote:
>
>> On 8 Nov 2018, at 22:34, Uxio Prego wrote:
>>
>>> [...]
>>
>> The example and explanation are worth a thousand words,
>> thank you very much. So I use a simple grammar like that, and
>> the stack data structures, and if necessary
> On 10 Nov 2018, at 12:50, Akim Demaille wrote:
>
>> Le 10 nov. 2018 à 10:38, Hans Åberg a écrit :
>>
>>> Also, see if using %param does not already
>>> give you what you need to pass information from the scanner to the
>>> parser’s yyerror.
>>
>> How would that get into the yyerror function
> On 10 Nov 2018, at 13:51, Uxio Prego wrote:
>
> Alright, but
OK, let's hear!
>> On 8 Nov 2018, at 23:37, Hans Åberg wrote:
>>
>>> On 8 Nov 2018, at 22:34, Uxio Prego wrote:
>>>
[...]
>>>
>>> The example and explanation are worth a thousand words,
>>> thank you very much. So I use a