* data/c++.m4, data/lalr1.cc (by_type, by_state): Rename 'value_type'
as 'kind_type', as it is clearer.
basic_symbol (const basic_symbol& other);
/// Constructor for valueless symbols.
basic_symbol (const basic_symbol& other);
/// Constructor for valueless symbols.
- basic_symbol (typename Base::value_type t]b4_locations_if([,
+ basic_symbol (typename Base::kind_type t]b4_locations_if([,
const location_type& l])[);
/// Constructor for symbols with semantic value.
const location_type& l])[);
/// Constructor for symbols with semantic value.
- basic_symbol (typename Base::value_type t,
+ basic_symbol (typename Base::kind_type t,
const semantic_type& v]b4_locations_if([,
const location_type& l])[);
const semantic_type& v]b4_locations_if([,
const location_type& l])[);
token_type token () const;
/// The type used to store the symbol type.
token_type token () const;
/// The type used to store the symbol type.
- typedef token_type value_type;
+ typedef token_type kind_type;
};
/// "External" symbols: returned by the scanner.
};
/// "External" symbols: returned by the scanner.
template <typename Base>
inline
]b4_parser_class_name[::basic_symbol<Base>::basic_symbol (]b4_join(
template <typename Base>
inline
]b4_parser_class_name[::basic_symbol<Base>::basic_symbol (]b4_join(
- [typename Base::value_type t],
+ [typename Base::kind_type t],
[const semantic_type& v],
b4_locations_if([const location_type& l]))[)
: Base (t)
[const semantic_type& v],
b4_locations_if([const location_type& l]))[)
: Base (t)
template <typename Base>
inline
]b4_parser_class_name[::basic_symbol<Base>::basic_symbol (]b4_join(
template <typename Base>
inline
]b4_parser_class_name[::basic_symbol<Base>::basic_symbol (]b4_join(
- [typename Base::value_type t],
+ [typename Base::kind_type t],
b4_locations_if([const location_type& l]))[)
: Base (t)
, value ()]b4_locations_if([
b4_locations_if([const location_type& l]))[)
: Base (t)
, value ()]b4_locations_if([
int type_get () const;
/// The type used to store the symbol type.
int type_get () const;
/// The type used to store the symbol type.
- typedef state_type value_type;
+ typedef state_type kind_type;
};
/// "Internal" symbol: element of the stack.
};
/// "Internal" symbol: element of the stack.