mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13:04 +00:00
warnings: be ready to print warnings categories
A function to print warnings categories, like -Wyacc, -Wother, etc. * src/complain.h, src/complain.c (print_warning_categories): New function. * src/output.c (ARRAY_CARDINALITY): Move it to file 'src/system.h'. * src/complain.h (enum warnings): New value, 'silent', "complain" must not display the warning type.
This commit is contained in:
committed by
Akim Demaille
parent
3e153163c7
commit
b640317060
@@ -42,8 +42,6 @@
|
||||
#include "symtab.h"
|
||||
#include "tables.h"
|
||||
|
||||
# define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
|
||||
|
||||
static struct obstack format_obstack;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user