mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
introduced a GCC-like -Werror=type
* src/complain.h : errors_flag variable * src/complain.c : actual stuff happens here * src/conflits.c : differentiated SR and RR conflicts * src/getargs.c : flags_argmatch recognizes the new -Werror format
This commit is contained in:
committed by
yro3ht
parent
47f6a236ec
commit
981c53e257
@@ -602,8 +602,10 @@ conflicts_print (void)
|
||||
}
|
||||
if (src_total | rrc_total)
|
||||
{
|
||||
if (expected_sr_conflicts == -1 && expected_rr_conflicts == -1)
|
||||
set_warning_issued ();
|
||||
if (expected_sr_conflicts == -1 && src_total)
|
||||
set_warning_issued (Wconflicts_sr);
|
||||
if (expected_rr_conflicts == -1 && rrc_total)
|
||||
set_warning_issued (Wconflicts_rr);
|
||||
if (! yacc_flag)
|
||||
fprintf (stderr, "%s: ", current_file);
|
||||
conflict_report (stderr, src_total, rrc_total);
|
||||
|
||||
Reference in New Issue
Block a user