mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 11:13:03 +00:00
parsers: fix minor stylistic issues
* data/skeletons/variant.hh (b4_token_constructor_declare): Remove, unused since the previous commit. Fix indentation issues. * data/skeletons/c++.m4: Fix indentation issues.
This commit is contained in:
@@ -275,8 +275,8 @@ m4_define([b4_symbol_type_define],
|
|||||||
/// Constructor for symbols with semantic value.
|
/// Constructor for symbols with semantic value.
|
||||||
basic_symbol (typename Base::kind_type t,
|
basic_symbol (typename Base::kind_type t,
|
||||||
YY_RVREF (semantic_type) v]b4_locations_if([,
|
YY_RVREF (semantic_type) v]b4_locations_if([,
|
||||||
YY_RVREF (location_type) l])[);]])[
|
YY_RVREF (location_type) l])[);
|
||||||
|
]])[
|
||||||
/// Destroy the symbol.
|
/// Destroy the symbol.
|
||||||
~basic_symbol ();
|
~basic_symbol ();
|
||||||
|
|
||||||
|
|||||||
@@ -419,15 +419,6 @@ m4_define([_b4_token_constructor_define],
|
|||||||
]])])
|
]])])
|
||||||
|
|
||||||
|
|
||||||
# b4_token_constructor_declare
|
|
||||||
# ----------------------------
|
|
||||||
# Declare token constructors. Use at class-level.
|
|
||||||
m4_define([b4_token_constructor_declare],
|
|
||||||
[ // Symbol constructors declarations.
|
|
||||||
b4_symbol_foreach([_b4_token_maker_declare])])
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# b4_basic_symbol_constructor_define(SYMBOL-NUM)
|
# b4_basic_symbol_constructor_define(SYMBOL-NUM)
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
# Generate a constructor for basic_symbol from given type.
|
# Generate a constructor for basic_symbol from given type.
|
||||||
|
|||||||
@@ -60,11 +60,8 @@ static char *relocate_buffer = NULL;
|
|||||||
#define GENERATE_MUSCLE_INSERT_TABLE(Name, Type) \
|
#define GENERATE_MUSCLE_INSERT_TABLE(Name, Type) \
|
||||||
\
|
\
|
||||||
static void \
|
static void \
|
||||||
Name (char const *name, \
|
Name (char const *name, Type *table_data, Type first, \
|
||||||
Type *table_data, \
|
int begin, int end) \
|
||||||
Type first, \
|
|
||||||
int begin, \
|
|
||||||
int end) \
|
|
||||||
{ \
|
{ \
|
||||||
Type min = first; \
|
Type min = first; \
|
||||||
Type max = first; \
|
Type max = first; \
|
||||||
|
|||||||
Reference in New Issue
Block a user