mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00: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:
@@ -1,3 +1,11 @@
|
|||||||
|
2008-11-07 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
2008-11-07 Akim Demaille <demaille@gostai.com>
|
2008-11-07 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
Pass command line location to skeleton_arg and language_argmatch.
|
Pass command line location to skeleton_arg and language_argmatch.
|
||||||
|
|||||||
@@ -584,9 +584,9 @@ b4_percent_code_get[]dnl
|
|||||||
#else /* !YYDEBUG */
|
#else /* !YYDEBUG */
|
||||||
|
|
||||||
# define YYCDEBUG if (false) std::cerr
|
# define YYCDEBUG if (false) std::cerr
|
||||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
|
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) static_cast<void>(0)
|
||||||
# define YY_REDUCE_PRINT(Rule)
|
# define YY_REDUCE_PRINT(Rule) static_cast<void>(0)
|
||||||
# define YY_STACK_PRINT()
|
# define YY_STACK_PRINT() static_cast<void>(0)
|
||||||
|
|
||||||
#endif /* !YYDEBUG */
|
#endif /* !YYDEBUG */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user