aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/src/complain.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-06-26 23:46:47 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-06-26 23:57:08 +0300
commitac037438ef5c581b0dc01829e7ba173d4b2a4d42 (patch)
tree567767475824d592c71612b198b47118923d68f5 /contrib/tools/bison/src/complain.h
parent10d8655dd385fe03395d60abfbb5903fcc87b2a4 (diff)
downloadydb-ac037438ef5c581b0dc01829e7ba173d4b2a4d42.tar.gz
Update contrib/tools/bison to 3.1
3649391e5dae6eedaa45d736e3febbde1342c10a
Diffstat (limited to 'contrib/tools/bison/src/complain.h')
-rw-r--r--contrib/tools/bison/src/complain.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/tools/bison/src/complain.h b/contrib/tools/bison/src/complain.h
index 0d81503df7..599afb97c7 100644
--- a/contrib/tools/bison/src/complain.h
+++ b/contrib/tools/bison/src/complain.h
@@ -1,7 +1,7 @@
/* Declaration for error-reporting function for Bison.
- Copyright (C) 2000-2002, 2006, 2009-2013 Free Software Foundation,
- Inc.
+ Copyright (C) 2000-2002, 2006, 2009-2015, 2018 Free Software
+ Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -128,14 +128,14 @@ void deprecated_directive (location const *loc,
void duplicate_directive (char const *directive,
location first, location second);
-/** Warnings treated as errors shouldn't stop the execution as regular errors
- should (because due to their nature, it is safe to go on). Thus, there are
- three possible execution statuses. */
+/** Warnings treated as errors shouldn't stop the execution as regular
+ errors should (because due to their nature, it is safe to go
+ on). Thus, there are three possible execution statuses. */
typedef enum
{
- status_none,
- status_warning_as_error,
- status_complaint
+ status_none, /**< No diagnostic issued so far. */
+ status_warning_as_error, /**< A warning was issued (but no error). */
+ status_complaint /**< An error was issued. */
} err_status;
/** Whether an error was reported. */