This series of commits should address the various concerns about the use of `inline`, especially, of course, the problem with syntax_error. FTR, it was working well with symbol constructors, it's when %defines is used without symbol constructors that it would fail.
Please, try it and report possible issues. I have tried on my pet project (C++, variants, symbols ctors), and it works well. The generated code is more natural too. Akim Demaille (3): C++: remove useless `inline` on templates C++: remove useless `inline` in CC files C++: fix uses of `inline` data/c++.m4 | 57 ++++++++++++++++++++++----------------------------- data/glr.cc | 2 +- data/lalr1.cc | 37 +++++++++++---------------------- tests/c++.at | 21 +++++++++++-------- 4 files changed, 51 insertions(+), 66 deletions(-) -- 2.17.0
