bison-patches
[Top][All Lists]
Advanced

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

[PATCH 0/9] glr2.cc: clean up


From: Akim Demaille
Subject: [PATCH 0/9] glr2.cc: clean up
Date: Sat, 26 Dec 2020 15:42:29 +0100

A bunch of minor improvements.  There's more to do.

Akim Demaille (9):
  glr2.cc: don't use YYSTYPE/YYLTYPE at all
  glr2.cc: formatting changes
  glr2.cc: use YYCDEBUG, not YY_DEBUG_STREAM
  glr2.cc: remove dead comments
  style: rename semanticVal as value
  glr2.cc: pass location by const ref to yyglrShift
  style: use yyval only, not yysval
  glr2.cc: pass reference to yyreportAmbiguity
  glr2.cc: make yyreportTree a member function of semantic_option

 TODO                        |  15 +-
 data/local.mk               |   1 -
 data/skeletons/README-D.txt |  60 ----
 data/skeletons/glr.c        |  46 +--
 data/skeletons/glr2.cc      | 569 +++++++++++++++++-------------------
 examples/d/calc/calc.y      |   6 +-
 tests/calc.at               |   6 +-
 tests/d.at                  |   2 -
 tests/scanner.at            |   6 +-
 9 files changed, 303 insertions(+), 408 deletions(-)
 delete mode 100644 data/skeletons/README-D.txt

-- 
2.29.2




reply via email to

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