bison-patches
[Top][All Lists]
Advanced

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

[PATCH 0/8] {branch-2.6} more fixes for -Wuninitialized warnings


From: Akim Demaille
Subject: [PATCH 0/8] {branch-2.6} more fixes for -Wuninitialized warnings
Date: Tue, 6 Nov 2012 17:47:09 +0100

These patches update, and complete, the patches I sent originally.
"make maintainer-release-check" found unexpected failures when one
uses a push parser with the pull interface.  There are areas in the
push parser that I don't understand well enough (at least, I have the
impression that there could be some significant simplifications),
but I am not willing to do that in branch-2.6.

Akim Demaille (8):
  yacc.c: simplify initialization
  yacc.c, glr.c: a better YY_LOCATION_PRINT
  glr.cc, yacc.c: initialize yylloc properly
  yacc.c: also disable -Wuninitialized.
  tests: check that C and C++ objects can be linked together.
  lalr1.cc: always initialize yylval.
  tests: remove useless location initializations
  tests: calc: modernize the use of locations

 NEWS             |   3 ++
 data/c.m4        |  43 ++++++++++++++++----
 data/glr.c       |  26 ++----------
 data/glr.cc      |   9 ++++-
 data/lalr1.cc    |   3 +-
 data/yacc.c      |  60 +++++++++------------------
 tests/actions.at | 121 ++++++++++++++++++++++++++++++++++++++++---------------
 tests/calc.at    |  35 +++++-----------
 tests/headers.at |   9 +++--
 tests/local.at   |  47 +++++++++++++++++----
 10 files changed, 213 insertions(+), 143 deletions(-)

-- 
1.8.0




reply via email to

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