Work on some other areas of Bison revealed that some macros expanded
to be expanded only once were actually expanded several times.  This
was due to the fact that changecom was not properly restored each
time, and macro names appearing in comments were then expanded.

Working on this exhibited room for improvements elsewhere.

Akim Demaille (3):
  tests: beware of gnulib's need for config.h
  m4: use a safer pattern to enable/disable output
  parser: accept #line NUM

 data/bison.m4      | 24 ++++++++++++++++++++++++
 data/glr.c         | 21 +++++++++------------
 data/glr.cc        |  5 ++---
 data/lalr1.cc      | 14 +++++++-------
 data/lalr1.java    |  5 ++---
 data/location.cc   | 14 +++++++-------
 data/stack.hh      | 11 ++++-------
 data/yacc.c        | 18 +++++++++---------
 src/scan-gram.l    | 22 +++++++++++++---------
 tests/skeletons.at |  4 ++--
 tests/torture.at   |  3 ++-
 11 files changed, 81 insertions(+), 60 deletions(-)

-- 
1.8.0.1


Reply via email to