bison-patches
[Top][All Lists]
Advanced

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

[PATCH 0/5] glr2.cc: simplify


From: Akim Demaille
Subject: [PATCH 0/5] glr2.cc: simplify
Date: Mon, 28 Dec 2020 07:48:07 +0100

There are several main tasks remaining in glr2.cc:
1. fix the memory leaks
2. clean up and restructure (everything should be in yy::, many things
   should be in yy::parser, and maybe glr_stack should actually be fused in
   yy::parser
3. add support for variants
4. add support for token constructors

This series of patches addresses a bit of (2) to make (3) easier.  I already
have ongoing work for (3), but there are unexpected troubles, with %merge,
in perfect coordination with the recent bug reports from Jot Dot
(https://lists.gnu.org/r/help-bison/2020-12/msg00014.html).

Akim Demaille (5):
  glr2.cc: get rid of the macros wrapping the lookahead
  glr2.cc: simplify names
  glr2.cc: use references to the stack rather than pointers
  lalr1.cc: quoting changes
  glr2.cc: style: quoting changes

 data/skeletons/glr2.cc  | 242 +++++++++++++++++++---------------------
 data/skeletons/lalr1.cc |   6 +-
 2 files changed, 116 insertions(+), 132 deletions(-)

-- 
2.29.2




reply via email to

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