]> git.saurik.com Git - bison.git/commit
tests: fix invalid C++11 code
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 19 Feb 2013 16:44:08 +0000 (17:44 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 19 Feb 2013 16:47:13 +0000 (17:47 +0100)
commite39fcdda38f0b334baf3cd4556a218129cd151f7
treeb7610dea194a9f01c851ab18da2d6a70dafad63b
parent5ae8eb3202c501a070d3753f89f75893dcbd3f20
tests: fix invalid C++11 code

* tests/c++.at (Object): Somehow instances of Object were assigned
YY_NULL, which is 0 most of the time (that case passes), but is
nullptr in C++11, and there is nothing in Object to support such an
assignment (failure).  Use 0 as value, and provide the needed
assignment operator.
Also, use a more natural order within the class definition.
tests/c++.at