mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
Avoid empty-if warnings.
Reported by Quentin Hocquet. * data/lalr1-fusion.cc (YY_SYMBOL_PRINT, YY_REDUCE_PRINT) (YY_STACK_PRINT): Provide some contents even when !YYDEBUG.
This commit is contained in:
@@ -584,9 +584,9 @@ b4_percent_code_get[]dnl
|
||||
#else /* !YYDEBUG */
|
||||
|
||||
# define YYCDEBUG if (false) std::cerr
|
||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
|
||||
# define YY_REDUCE_PRINT(Rule)
|
||||
# define YY_STACK_PRINT()
|
||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) static_cast<void>(0)
|
||||
# define YY_REDUCE_PRINT(Rule) static_cast<void>(0)
|
||||
# define YY_STACK_PRINT() static_cast<void>(0)
|
||||
|
||||
#endif /* !YYDEBUG */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user