mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 00:03:03 +00:00
diagnostics: style changes
* src/complain.h, src/complain.c: Comment changes. * src/scan-skel.l: Reduce scopes. * data/skeletons/bison.m4: Factor diagnostic functions.
This commit is contained in:
@@ -225,6 +225,7 @@ warnings_argmatch (char *args)
|
||||
}
|
||||
}
|
||||
|
||||
/* Color style for this type of message. */
|
||||
static const char*
|
||||
severity_style (severity s)
|
||||
{
|
||||
@@ -242,6 +243,7 @@ severity_style (severity s)
|
||||
abort ();
|
||||
}
|
||||
|
||||
/* Prefix for this type of message. */
|
||||
static const char*
|
||||
severity_prefix (severity s)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user