diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2018-11-20 19:28:12 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2018-11-20 20:01:50 +0100 |
commit | 4e510c69b1cbf711a0d9cba2967a79d6673b4e35 (patch) | |
tree | 8c3b07a9e6b6f9268efa5cb3456ecde524df0fab /THANKS | |
parent | b72d654fa222c235af85b65b586530b95c6fb35e (diff) | |
download | bison-4e510c69b1cbf711a0d9cba2967a79d6673b4e35.tar.gz |
c++: using macros around user types breaks when they include comma
We may generate code such as
basic_symbol (typename Base::kind_type t, YY_RVREF (std::pair<int,int>) v);
which, of course, breaks, because YY_RVREF sees two arguments. Let's
not play tricks with _VA_ARGS__, I'm unsure about it portability.
Anyway, I plan to change more things in this area.
Reported by Sébastien Villemot.
http://lists.gnu.org/archive/html/bug-bison/2018-11/msg00014.html
* data/variant.hh (b4_basic_symbol_constructor_declare)
(b4_basic_symbol_constructor_define): Don't use macro on user types.
* tests/types.at: Check that we support pairs.
Diffstat (limited to 'THANKS')
-rw-r--r-- | THANKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -151,6 +151,7 @@ Roland Levillain roland@lrde.epita.fr Satya Kiran Popuri satyakiran@gmail.com Sebastian Setzer sebastian.setzer.ext@siemens.com Sebastien Fricker sebastien.fricker@gmail.com +Sébastien Villemot sebastien@debian.org Sergei Steshenko sergstesh@yahoo.com Shura debil_urod@ngs.ru Simon Sobisch simonsobisch@web.de |