bison-patches
[Top][All Lists]
Advanced

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

[PATCH 0/4] Shorten the generated output


From: Akim Demaille
Subject: [PATCH 0/4] Shorten the generated output
Date: Sat, 16 Mar 2019 10:02:05 +0100

These changes aim at pacifying 'git diff' on the generated output.
The fact that we duplicate the header into the generated parser is
something that has been bugging me for years, but I could not see a
way to achieve this goal without breaking existing projects.  I think
my proposal below is safe.

I would very much appreciate comments on this, especially on commit
3/4.

Akim Demaille (4):
  simplify the generated #line
  yacc.c: emit the header before the implementation file
  yacc.c: provide a means to include the header in the implementation
  regen

 NEWS                    |  18 +
 data/skeletons/bison.m4 |  17 +-
 data/skeletons/yacc.c   |  45 ++-
 examples/c/calc/calc.y  |   1 +
 src/parse-gram.c        | 866 +++++++++++++++-------------------------
 src/parse-gram.h        |  12 +-
 src/parse-gram.y        |   1 +
 7 files changed, 395 insertions(+), 565 deletions(-)

-- 
2.21.0




reply via email to

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