Files
bison/data/skeletons
Akim Demaille df34ad7c6e glr2.cc: call the destructor in a way that complies with clang
examples/c++/glr/c++-types.cc:721:24: error:
      expected the class name after '~' to name a destructor
    yysval.YYSTYPE::~semantic_type ();
                    ^

Using a local typedef, for some reaon, result in clang complaining
about a useless local typedef.  Since anyway we don't want to keep on
using YYSTYPE and YYLTYPE, it is time to introduce proper typedefs to
reach these guys.  And to be slightly in advance of the other
skeletons: use value_type, not semantic_type.  This is much more
consistent with our use of the (kind, value, location) triplet.

* data/skeletons/glr2.cc (glr_state::value_type)
(glr_state::location_type): New.
(glr_state::~glr_state): Use value_type to name the dtor.
2020-12-20 18:46:17 +01:00
..
2020-05-21 20:14:59 +02:00
2020-01-10 19:16:23 +01:00
2020-01-10 19:16:23 +01:00
2020-12-03 06:19:17 +01:00
2020-01-10 19:16:23 +01:00
2020-12-20 14:54:46 +01:00
2020-12-05 07:36:01 +01:00
2020-01-10 19:16:23 +01:00
2020-12-03 06:19:17 +01:00
2020-11-13 07:01:19 +01:00
2020-04-13 16:49:54 +02:00
2020-11-13 07:01:19 +01:00
2020-11-13 07:01:19 +01:00