bison-patches
[Top][All Lists]
Advanced

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

[PATCH 0/3] Change warnings infrastructure


From: Victor Santet
Subject: [PATCH 0/3] Change warnings infrastructure
Date: Thu, 28 Jun 2012 16:44:18 +0200

Up to now, three kind of fonctions served to make complaints. We factor these in
only one kind with a supplementary argument.
We can take this opportunity to get warnings flags so that we can differentiate
kind of warnings (Yacc, Shift/Reduce, ect...).
In the next changes, we will be able to display warning kind and to make
only kind of warnings we want (specified in command line) becoming errors.

Victor Santet (3):
  warnings: rename the categories
  warnings: move them to complain.c.
  warnings: factoring: complaints

 bootstrap.conf   |    6 +-
 src/complain.c   |  164 ++++++++++++++++++++----------------------------------
 src/complain.h   |   77 ++++++++++---------------
 src/conflicts.c  |   18 +++---
 src/files.c      |    6 +-
 src/getargs.c    |   35 ++++++------
 src/getargs.h    |   18 ------
 src/gram.c       |    4 +-
 src/location.c   |    4 +-
 src/muscle-tab.c |   34 +++++------
 src/parse-gram.y |    7 ++-
 src/reader.c     |   62 +++++++++++----------
 src/reduce.c     |   28 +++++-----
 src/scan-code.l  |   64 +++++++++++----------
 src/scan-gram.l  |   44 ++++++++-------
 src/scan-skel.l  |   71 ++++++++++++-----------
 src/symlist.c    |    3 +-
 src/symtab.c     |   83 +++++++++++++--------------
 18 files changed, 336 insertions(+), 392 deletions(-)

-- 
1.7.9.5




reply via email to

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