I feel real dumb asking this but,
How do you pass values back from the lexer when using %glr-parser?
I know I must use POD data types.
In the .y file, I am using:
%define api.value.type union
%token CONSTANT
and in the lexer file:
{inum} { // Integer
int64_t number = str
On 20/12/2020 15:31, Christian Schoenebeck via Users list for the GNU
Bison parser generator wrote:
> On Sonntag, 20. Dezember 2020 12:33:45 CET Daniele Nicolodi wrote:
>> On 20/12/2020 08:09, Akim Demaille wrote:
>>> Hi Daniele,
>>>
Le 19 déc. 2020 à 20:17, Daniele Nicolodi a écrit :
>>
On Sonntag, 20. Dezember 2020 12:33:45 CET Daniele Nicolodi wrote:
> On 20/12/2020 08:09, Akim Demaille wrote:
> > Hi Daniele,
> >
> >> Le 19 déc. 2020 à 20:17, Daniele Nicolodi a écrit :
> >>
> >> Hello,
> >>
> >> I am working on a project that uses Bison to generate a parser and Meson
> >> as
On 20/12/2020 08:09, Akim Demaille wrote:
> Hi Daniele,
>
>> Le 19 déc. 2020 à 20:17, Daniele Nicolodi a écrit :
>>
>> Hello,
>>
>> I am working on a project that uses Bison to generate a parser and Meson
>> as build system. I would like to include Bison as a subproject [1] in
>> particular to ma