]> git.saurik.com Git - bison.git/commitdiff
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)
* 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.


No differences found