summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2020-06-28 05:44:16 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2020-06-28 05:44:16 (GMT)
commiteb98370ae03aa778d0a69df83f6f4a5cecff0b38 (patch) (side-by-side diff)
treedac4ea49252fe62631cf30f5ef72d3abbdf4270b
parent893d875a4065acb757fef55876c391b1dd070041 (diff)
downloadgrecs-eb98370ae03aa778d0a69df83f6f4a5cecff0b38.tar.gz
grecs-eb98370ae03aa778d0a69df83f6f4a5cecff0b38.tar.bz2
Use %define parse.error verbose in parsers, instead of the deprecated %error-verbose
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/bind-gram.y2
-rw-r--r--src/dhcpd-gram.y2
-rw-r--r--src/grecs-gram.y2
-rw-r--r--src/json-gram.y2
-rw-r--r--src/meta1-gram.y2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/bind-gram.y b/src/bind-gram.y
index 18deb0d..5294baf 100644
--- a/src/bind-gram.y
+++ b/src/bind-gram.y
@@ -36,7 +36,7 @@ extern void grecs_bind_close_sources(void);
static struct grecs_value *stmtlist_to_value(struct grecs_node *node);
%}
-%error-verbose
+%define parse.error verbose
%locations
%union {
diff --git a/src/dhcpd-gram.y b/src/dhcpd-gram.y
index 11dd1b2..61e4851 100644
--- a/src/dhcpd-gram.y
+++ b/src/dhcpd-gram.y
@@ -49,7 +49,7 @@ make_string_value(char *string)
%}
-%error-verbose
+%define parse.error verbose
%locations
%union {
diff --git a/src/grecs-gram.y b/src/grecs-gram.y
index 05ed2f5..4139587 100644
--- a/src/grecs-gram.y
+++ b/src/grecs-gram.y
@@ -31,7 +31,7 @@ int yyerror(char const *s);
static struct grecs_node *parse_tree;
%}
-%error-verbose
+%define parse.error verbose
%locations
%union {
diff --git a/src/json-gram.y b/src/json-gram.y
index d5b0248..457506e 100644
--- a/src/json-gram.y
+++ b/src/json-gram.y
@@ -48,7 +48,7 @@ objfree(void *ptr)
%}
-%error-verbose
+%define parse.error verbose
%locations
%token <n> T_NUMBER
diff --git a/src/meta1-gram.y b/src/meta1-gram.y
index 3b9ca63..25c18bd 100644
--- a/src/meta1-gram.y
+++ b/src/meta1-gram.y
@@ -30,7 +30,7 @@ extern int yy_flex_debug;
extern void yyset_in(FILE *);
%}
-%error-verbose
+%define parse.error verbose
%locations
%union {

Return to:

Send suggestions and report system problems to the System administrator.