[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] Fix generated comments
From: |
Akim Demaille |
Subject: |
[PATCH 0/3] Fix generated comments |
Date: |
Fri, 22 May 2020 20:31:52 +0200 |
I recently saw that we had a regression on the way comments look in
Bison's own parser:
- /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
+ /* YYRLINEYYN -- Source line where rule number YYN was defined. */
That's because of the way I addressed the problem of comments within
comments (https://lists.gnu.org/r/bison-patches/2020-05/msg00057.html).
This is really stupid, and I'll release a 3.6.3.
Akim Demaille (3):
traces: show the full m4 invocation
traces: provide a means to get short m4 traces
fix generated comments
data/local.mk | 1 +
data/skeletons/bison.m4 | 21 +++++++++++++++++++++
data/skeletons/c-like.m4 | 8 +++++---
data/skeletons/traceon.m4 | 2 ++
src/getargs.c | 4 +++-
src/getargs.h | 11 ++++++-----
src/output.c | 31 ++++++++++++++++++-------------
tests/m4.at | 30 ++++++++++++++++++++++++++++--
8 files changed, 84 insertions(+), 24 deletions(-)
create mode 100644 data/skeletons/traceon.m4
--
2.26.2
- [PATCH 0/3] Fix generated comments,
Akim Demaille <=