bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] Fix inline issues in C++


From: Akim Demaille
Subject: [PATCH 0/3] Fix inline issues in C++
Date: Thu, 10 May 2018 17:45:20 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]