diff --git a/tools/lrama/template/bison/yacc.c b/tools/lrama/template/bison/yacc.c index 37ea4f50b..42d875605 100644 --- a/tools/lrama/template/bison/yacc.c +++ b/tools/lrama/template/bison/yacc.c @@ -1475,11 +1475,7 @@ int yychar; /* The semantic value of the lookahead symbol. */ /* Default value used for initialization, for pacifying older GCCs or non-GCC compilers. */ -#ifdef __cplusplus -static const YYSTYPE yyval_default = YY_INITIAL_VALUE(YYSTYPE()); -#else -YY_INITIAL_VALUE (static const YYSTYPE yyval_default;) -#endif +YY_INITIAL_VALUE (static YYSTYPE yyval_default;) YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); /* Location data for the lookahead symbol. */