mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 18:53:04 +00:00
variants: document move and swap
* data/variant.hh (swap): Doc. (build): Rename as... (move): This, more coherent naming with clearer meaning. * data/c++.m4 (move): Adjust.
This commit is contained in:
@@ -306,7 +306,7 @@ m4_define([b4_public_types_define],
|
||||
{
|
||||
this->type = s.type_get ();]b4_locations_if([
|
||||
location = s.location;])[
|
||||
]b4_variant_if([b4_symbol_variant([s.type_get ()], [value], [build],
|
||||
]b4_variant_if([b4_symbol_variant([s.type_get ()], [value], [move],
|
||||
[s.value])],
|
||||
[value = s.value;])[
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user