Files
bison/tests
Valentin Tolmer cc2235ace2 warnings: introduce -Wprecedence
The new warning category "precedence" flags useless precedence and
associativity.  -Wprecedence can now be used, it is disabled by default.
The warnings about precedence and associativity are grouped into one, and
the testsuite was corrected accordingly.

* src/complain.h (warnings): Introduce "precedence".
* src/complain.c (warnings_print_categories): Adjust.
* src/getargs.c (warnings_args, warning_types): Likewise.
* src/symtab.h, src/symtab.c (print_associativity_warnings): Remove.
* src/symtab.h (register_assoc): Correct arguments.
* src/symtab.c (print_precedence_warnings): Print both warnings together.
* doc/bison.texi (Bison options): Document the warnings and provide an
example.
* tests/conflicts.at, tests/existing.at, tests/local.at,
* tests/regression.at: Adapt the testsuite for the new category
(-Wprecedence instead of -Wother where appropriate).
2013-01-30 21:39:08 +01:00
..
2008-11-16 19:46:16 +01:00
2013-01-28 17:46:13 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-30 21:39:08 +01:00
2013-01-12 16:14:16 +01:00
2013-01-30 21:39:08 +01:00
2013-01-28 17:46:13 +01:00
2013-01-30 21:39:08 +01:00
2013-01-28 17:46:13 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-30 21:39:08 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00
2013-01-12 16:14:16 +01:00