mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
style changes
* src/complain.c, src/reader.c, src/reduce.c, src/main.c: Fix indentation. Simplify a bit.
This commit is contained in:
committed by
Akim Demaille
parent
415b88231a
commit
5ff5cf6700
@@ -115,10 +115,8 @@ complains (const location *loc, warnings flags, const char *message,
|
||||
error_message (loc, flags, _("warning"), message, args);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (warnings_flag & flags)
|
||||
{
|
||||
if (! (warnings_flag & flags))
|
||||
return;
|
||||
set_warning_issued ();
|
||||
error_message (loc, flags, _("warning"), message, args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user