]> git.saurik.com Git - bison.git/commit - src/getargs.h
diagnostics: factor the list of warning names
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 11 Feb 2013 09:25:08 +0000 (10:25 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 14 Feb 2013 14:00:51 +0000 (15:00 +0100)
commit219458e22f163ede84daa71dfa98bab82a766954
tree892920b1b48fdd671ebfeb7bbc8d22c367053634
parentfec5f3c0cc2c50a779dafb928fda105c1782446b
diagnostics: factor the list of warning names

* src/getargs.h, src/getargs.c (warnings_args, warnings_types): Make
them public.
* src/complain.h, src/complain.c (warnings_print_categories): Its
only use outside complain.c was removed in a recent commit, so
make it static.
Simplify its implementation.
Use warnings_args and warnings_types.
* src/muscle-tab.c (muscle_percent_define_check_values): Make it
silent.
src/complain.c
src/complain.h
src/getargs.c
src/getargs.h
src/muscle-tab.c