Files
bison/tests
Akim Demaille 807bf60cfc c++: fix double free when a symbol_type was moved
Currently the following piece of code crashes (with parse.assert),
because we don't record that s was moved-from, and we invoke its dtor.

    {
      auto s = parser::make_INT (42);
      auto s2 = std::move (s);
    }

Reported by Wolfgang Thaller.
http://lists.gnu.org/archive/html/bug-bison/2018-12/msg00077.html

* data/c++.m4 (by_type): Provide a move-ctor.
(basic_symbol): Be sure not to read a moved-from value.
* tests/c++.at (C++ Variant-based Symbols Unit Tests): Check this case.
2018-12-24 18:58:56 +01:00
..
2008-11-16 19:46:16 +01:00
2018-11-16 17:37:47 +01:00
2018-12-04 20:43:01 +01:00
2018-12-01 12:54:42 +01:00
2018-12-23 10:40:07 +01:00
2018-12-01 11:13:08 +01:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-11-12 07:28:20 +01:00
2018-12-16 12:27:28 +01:00
2018-08-11 18:09:29 +02:00
2018-05-12 18:18:41 +02:00
2018-11-29 07:44:37 +01:00
2018-11-26 07:56:06 +01:00
2018-12-22 14:55:07 +01:00