c++: avoid warnings about extraneous semi-colons

Reported by Derek Clegg.
http://lists.gnu.org/archive/html/bug-bison/2019-01/msg00005.html

* configure.ac (warn_cxx): Add -Wextra-semi.
* data/skeletons/c++.m4: Remove extraneous semi-colon.
This commit is contained in:
Akim Demaille
2019-01-14 08:40:06 +01:00
parent 38b17c36da
commit 3551d51dd9
2 changed files with 2 additions and 2 deletions

View File

@@ -352,7 +352,7 @@ m4_define([b4_symbol_type_define],
typedef basic_symbol<by_type> super_type;
/// Empty symbol.
symbol_type () {};
symbol_type () {}
/// Constructor for valueless symbols, and symbols from each type.
]b4_type_foreach([_b4_token_constructor_define])dnl