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 12:10:02 +0200

Hi Hans,

> Le 16 oct. 2018 à 11:20, Hans Åberg <address@hidden> a écrit :
> 
> In Bison 3.1,
>  %define api.value.type {semantic_type}
> produces an error in gcc8, though accepted in clang6, by the parser header 
> typedef
>  #ifndef YYSTYPE
>    /// Symbol semantic values.
>    typedef semantic_type semantic_type;
>  #else
>    typedef YYSTYPE semantic_type;
>  #endif

Please, be more specific.  Provide an input file, and the complete error from 
the compiler.


reply via email to

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