Jot,
> Le 27 déc. 2020 à 22:31, Jot Dot a écrit :
>
> BTW: I'm using: Bison 3.7.1
>
>>> Assuming I have something simple like the following:
>>> %token IDENTIFIER
>>> %type subrule expr
>>
>> Which means that you are probably using "api.value.type variant". Which does
>
> *Sigh*
> That's
BTW: I'm using: Bison 3.7.1
>> Assuming I have something simple like the following:
>> %token IDENTIFIER
>> %type subrule expr
>
> Which means that you are probably using "api.value.type variant". Which does
*Sigh*
That's why I was wondering what I was doing wrong.
I know I must use POD.
I
Jot,
> Le 25 déc. 2020 à 04:28, Jot Dot a écrit :
>
> This is the resultant code generated by bison:
>
> static void
> yyuserMerge (int yyn, YYSTYPE* yy0, YYSTYPE* yy1)
> {
> YYUSE (yy0);
> YYUSE (yy1);
>
> switch (yyn)
>{
> case 1: yy0->gen::index_t = stmtMerge (*yy0, *yy1); break;