]> git.saurik.com Git - bison.git/commit
c++: privatize variant blind copies
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Fri, 11 Jan 2013 10:41:07 +0000 (11:41 +0100)
committerTheophile Ranquet <ranquet@lrde.epita.fr>
Fri, 11 Jan 2013 17:57:09 +0000 (18:57 +0100)
commit04816a6f3203968479591ebbe1886537674fa110
treea2a3b97640494e34e3527f269c0d0fae696530f0
parent39ad6cc6acde293499c9501a3bfcb6ac64bdad22
c++: privatize variant blind copies

* data/variant.hh (variant, operator=): Make private.
* data/c++.m4 (operator=): New, to avoid needing a definition of that operator
for each class member (such as a possible variant).
* data/glr.cc, data/lalr.cc: Add the necessary include for the abort.
data/c++.m4
data/glr.cc
data/lalr1.cc
data/variant.hh