X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6155db81aa47b22f3cbc8f2776350b716e7e307d..a81071233128e8c31507b9aa6c5f70906ab523f5:/data/variant.hh diff --git a/data/variant.hh b/data/variant.hh index ac4f7a78..76c3e60d 100644 --- a/data/variant.hh +++ b/data/variant.hh @@ -178,8 +178,7 @@ m4_define([b4_variant_define], template void move (self_type& other) - {]b4_parse_assert_if([ - YYASSERT (!yytname_);])[ + { build (); swap (other); other.destroy (); @@ -321,7 +320,6 @@ b4_join(b4_symbol_if([$1], [has_type], return symbol_type (b4_join([token::b4_symbol([$1], [id])], b4_symbol_if([$1], [has_type], [v]), b4_locations_if([l]))); - } ])])])