mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Revert "tools/lrama: apply ruby/lrama#442"
This reverts commit fb9fbc8498.
The fix in the upstream still causes syntax error in C++.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user