[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
- [PATCH 0/9] glr2.cc: clean up,
Akim Demaille <=
- [PATCH 1/9] glr2.cc: don't use YYSTYPE/YYLTYPE at all, Akim Demaille, 2020/12/26
- [PATCH 2/9] glr2.cc: formatting changes, Akim Demaille, 2020/12/26
- [PATCH 3/9] glr2.cc: use YYCDEBUG, not YY_DEBUG_STREAM, Akim Demaille, 2020/12/26
- [PATCH 4/9] glr2.cc: remove dead comments, Akim Demaille, 2020/12/26
- [PATCH 5/9] style: rename semanticVal as value, Akim Demaille, 2020/12/26
- [PATCH 6/9] glr2.cc: pass location by const ref to yyglrShift, Akim Demaille, 2020/12/26
- [PATCH 7/9] style: use yyval only, not yysval, Akim Demaille, 2020/12/26
- [PATCH 8/9] glr2.cc: pass reference to yyreportAmbiguity, Akim Demaille, 2020/12/26
- [PATCH 9/9] glr2.cc: make yyreportTree a member function of semantic_option, Akim Demaille, 2020/12/26