Hi Hans, > Le 16 oct. 2018 à 11:20, Hans Åberg <haber...@telia.com> 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.