mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-21 23:18:11 +00:00
c++: avoid warnings when destructors don't use $$
* data/c++.m4: here.
This commit is contained in:
1 parent
11d820174f
commit
3e82dfaa0d
2 files changed
+6
No files matched your search
@@ -347,6 +347,7 @@ m4_define([b4_public_types_define],
|
||||
// User destructor.
|
||||
symbol_number_type yytype = this->type_get ();
|
||||
basic_symbol<Base>& yysym = *this;
|
||||
(void) yysym;
|
||||
switch (yytype)
|
||||
{
|
||||
]b4_symbol_foreach([b4_symbol_destructor])dnl
|
||||
|
||||
Reference in new issue
Block a user