[PATCH 0/3] Fix generated comments

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.patches
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.