bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison 3.1 api.value.type {semantic_type} error in gcc8


From: Akim Demaille
Subject: Re: Bison 3.1 api.value.type {semantic_type} error in gcc8
Date: Tue, 16 Oct 2018 13:19:48 +0200


> Le 16 oct. 2018 à 11:20, Hans Åberg <address@hidden> a écrit :
> 
> In Bison 3.1,
>  %define api.value.type {semantic_type}

Actually, what are you trying to achieve?  semantic_type is the name
of the typedef used by bison.  So, of course, it’s quite a bad idea
to use that name.  Unless you do mean to use that name, but not
Bison’s, rather some other definition, coming from some other place,
in which case you must provide the namespace/path to it.




reply via email to

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