- ]b4_parser_class_name[::stack_symbol_type::stack_symbol_type (state_type s, symbol_type& sym)
- : super_type (s]b4_locations_if([, sym.location])[)
- {]b4_variant_if([[
- ]b4_symbol_variant([sym.type_get ()], [value], [move], [sym.value])],
- [value = sym.value;])[
- // sym is emptied.
- sym.type = -1;
+ ]b4_parser_class_name[::stack_symbol_type::stack_symbol_type (state_type s, symbol_type& that)
+ : super_type (s]b4_locations_if([, that.location])[)
+ {
+ ]b4_variant_if([b4_symbol_variant([that.type_get ()],
+ [value], [move], [that.value])],
+ [[value = that.value;]])[
+ // that is emptied.
+ that.type = empty;