diff options
author | Victor Santet <victor.santet@epita.fr> | 2012-06-29 16:23:42 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-06-29 16:35:34 +0200 |
commit | 73370a9daab5c9fe1395240e2aeccd14b8e901c7 (patch) | |
tree | f1988ce13a26afb93ef9e5c8a43866b479fe54bd /src/complain.c | |
parent | b6403170609485abe21038a65255ae4d3825ec00 (diff) | |
download | bison-73370a9daab5c9fe1395240e2aeccd14b8e901c7.tar.gz |
warnings: display warnings categories
* src/complain.c (error_message): Call 'warnings_print_categories'.
* src/gram.c (grammar_rules_useless_report): Display itself warning
category.
* tests/actions.at, tests/conflicts.at, tests/existing.at,
tests/input.at, tests/named-refs.at, tests/output.at, tests/reduce.at,
tests/regression.at, tests/skeletons.at: Adjust.
* NEWS: Document this.
Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
Diffstat (limited to 'src/complain.c')
-rw-r--r-- | src/complain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/complain.c b/src/complain.c index 0f00358a..7d905de5 100644 --- a/src/complain.c +++ b/src/complain.c @@ -100,6 +100,7 @@ error_message (const location *loc, warnings flags, const char *prefix, fprintf (stderr, "%s: ", prefix); vfprintf (stderr, message, args); + warnings_print_categories (flags); { size_t l = strlen (message); if (l < 2 || message[l-2] != ':' || message[l-1] != ' ') |