[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/6] Improve and use --no-lines
From: |
Akim Demaille |
Subject: |
[PATCH 0/6] Improve and use --no-lines |
Date: |
Wed, 3 Apr 2019 19:17:02 +0200 |
I noticed a few inconsistencies in the way the #lines were handled.
This batch fixes this, and then uses --no-lines on Bison itself to
make the 'regen' commits nicer to read.
So this 'regen' should be the last one to be so massive.
Akim Demaille (6):
tests: formatting changes
java: prefer errors to fatal errors
java: use full locations for diagnostics about destructors
no-lines: avoid leaving an empty line instead of the syncline
bison: use no-lines
regen
Makefile.am | 4 +-
data/README.md | 3 +-
data/skeletons/bison.m4 | 28 ++--
data/skeletons/c++.m4 | 6 +-
data/skeletons/c.m4 | 12 +-
data/skeletons/glr.c | 4 +-
data/skeletons/glr.cc | 10 +-
data/skeletons/lalr1.cc | 10 +-
data/skeletons/lalr1.java | 8 +-
data/skeletons/yacc.c | 2 +-
src/muscle-tab.c | 11 +-
src/muscle-tab.h | 5 +
src/output.c | 5 +-
src/parse-gram.c | 311 +-------------------------------------
src/parse-gram.h | 10 +-
tests/calc.at | 6 +
tests/java.at | 24 +++
tests/javapush.at | 93 ++++++------
tests/synclines.at | 31 +++-
19 files changed, 165 insertions(+), 418 deletions(-)
--
2.21.0
- [PATCH 0/6] Improve and use --no-lines,
Akim Demaille <=
- [PATCH 1/6] tests: formatting changes, Akim Demaille, 2019/04/03
- [PATCH 2/6] java: prefer errors to fatal errors, Akim Demaille, 2019/04/03
- [PATCH 3/6] java: use full locations for diagnostics about destructors, Akim Demaille, 2019/04/03
- [PATCH 5/6] bison: use no-lines, Akim Demaille, 2019/04/03
- [PATCH 6/6] regen, Akim Demaille, 2019/04/03