[PATCH 0/4] Replace --defines with --header, and introduce --html

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.patches
Message-ID <[email protected]>
I'd be happy to read comments about this branch.  Too bad --header and
--html both start with H, there can only be one.  Ideas for a short
option for --html are most welcome.

Akim Demaille (4):
  options: rename --defines as --header
  deprecate %defines in favor of %header
  regen
  add support for --html

 NEWS                             |  17 +
 bootstrap.conf                   |   2 +-
 data/skeletons/bison.m4          |   2 +-
 data/skeletons/c.m4              |   2 +-
 data/skeletons/glr.c             |   6 +-
 data/skeletons/glr.cc            |   4 +-
 data/skeletons/glr2.cc           |   6 +-
 data/skeletons/lalr1.cc          |   6 +-
 data/skeletons/lalr1.java        |   2 +-
 data/skeletons/location.cc       |   4 +-
 data/skeletons/stack.hh          |   2 +-
 data/skeletons/yacc.c            |   6 +-
 doc/bison.texi                   |  87 ++--
 etc/bench.pl.in                  |   2 +-
 examples/c/bistromathic/Makefile |   2 +-
 examples/c/calc/Makefile         |   2 +-
 examples/c/lexcalc/Makefile      |   2 +-
 examples/c/pushcalc/Makefile     |   2 +-
 examples/c/reccalc/Makefile      |   2 +-
 lib/.gitignore                   |   2 +
 lib/timevar.def                  |   1 +
 m4/.gitignore                    |   1 +
 src/files.c                      |  13 +-
 src/files.h                      |   9 +-
 src/getargs.c                    |  42 +-
 src/getargs.h                    |   3 +-
 src/main.c                       |  10 +-
 src/output.c                     |   2 +-
 src/parse-gram.c                 | 710 ++++++++++++++++---------------
 src/parse-gram.h                 |  29 +-
 src/parse-gram.y                 |  37 +-
 src/print-xml.c                  |  42 ++
 src/print-xml.h                  |   3 +
 src/reader.c                     |   1 +
 src/scan-gram.l                  |   5 +-
 tests/actions.at                 |  12 +-
 tests/c++.at                     |  10 +-
 tests/calc.at                    |  75 ++--
 tests/conflicts.at               |   4 +-
 tests/diagnostics.at             |   2 +-
 tests/headers.at                 |   3 +-
 tests/input.at                   |   6 +-
 tests/java.at                    |  22 +-
 tests/local.at                   |  10 +-
 tests/local.mk                   |   2 +-
 tests/output.at                  |  73 ++--
 tests/report.at                  |  34 +-
 tests/synclines.at               |   4 +-
 tests/types.at                   |   6 +-
 49 files changed, 752 insertions(+), 579 deletions(-)

-- 
2.28.0
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.