]> git.saurik.com Git - bison.git/commit
Support constructor with an argument.
authorAkim Demaille <demaille@gostai.com>
Thu, 7 Aug 2008 22:38:07 +0000 (00:38 +0200)
committerAkim Demaille <demaille@gostai.com>
Mon, 10 Nov 2008 10:04:31 +0000 (11:04 +0100)
commite5eb92e79462c0f3805c09885ae8a1fe86ee28c6
tree25023fe3a03e532929674e64b35c1793a36c488d
parent763074102bc76cb84344929c46f8854e61bc526c
Support constructor with an argument.

This improves the "list" bench by 2%.

* data/lalr1.cc (variant::build): Add an overloaded version with
an argument.
* tests/c++.at (AT_CHECK_VARIANT): Check it.
ChangeLog
data/lalr1.cc
tests/c++.at