aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
@@ -33,13 +33,13 @@ extern int yy_flex_debug;
33extern int grecs_bind_new_source(const char *name, grecs_locus_t *loc); 33extern int grecs_bind_new_source(const char *name, grecs_locus_t *loc);
34extern void grecs_bind_close_sources(void); 34extern void grecs_bind_close_sources(void);
35 35
36static struct grecs_value *stmtlist_to_value(struct grecs_node *node); 36static struct grecs_value *stmtlist_to_value(struct grecs_node *node);
37%} 37%}
38 38
39%error-verbose 39%define parse.error verbose
40%locations 40%locations
41 41
42%union { 42%union {
43 char *string; 43 char *string;
44 grecs_value_t svalue, *pvalue; 44 grecs_value_t svalue, *pvalue;
45 struct grecs_list *list; 45 struct grecs_list *list;
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
@@ -46,13 +46,13 @@ make_string_value(char *string)
46 val->v.string = string; 46 val->v.string = string;
47 return val; 47 return val;
48} 48}
49 49
50%} 50%}
51 51
52%error-verbose 52%define parse.error verbose
53%locations 53%locations
54 54
55%union { 55%union {
56 char *string; 56 char *string;
57 grecs_value_t svalue, *pvalue; 57 grecs_value_t svalue, *pvalue;
58 struct grecs_list *list; 58 struct grecs_list *list;
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
@@ -28,13 +28,13 @@
28int yylex(void); 28int yylex(void);
29int yyerror(char const *s); 29int yyerror(char const *s);
30 30
31static struct grecs_node *parse_tree; 31static struct grecs_node *parse_tree;
32%} 32%}
33 33
34%error-verbose 34%define parse.error verbose
35%locations 35%locations
36 36
37%union { 37%union {
38 char *string; 38 char *string;
39 grecs_value_t svalue, *pvalue; 39 grecs_value_t svalue, *pvalue;
40 struct grecs_list *list; 40 struct grecs_list *list;
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
@@ -45,13 +45,13 @@ objfree(void *ptr)
45 struct json_value *o = ptr; 45 struct json_value *o = ptr;
46 json_value_free(o); 46 json_value_free(o);
47} 47}
48 48
49%} 49%}
50 50
51%error-verbose 51%define parse.error verbose
52%locations 52%locations
53 53
54%token <n> T_NUMBER 54%token <n> T_NUMBER
55%token <s> T_STRING 55%token <s> T_STRING
56%token <b> T_BOOL 56%token <b> T_BOOL
57%token T_NULL T_ERR 57%token T_NULL T_ERR
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
@@ -27,13 +27,13 @@ int yyerror(char const *s);
27 27
28static struct grecs_node *parse_tree; 28static struct grecs_node *parse_tree;
29extern int yy_flex_debug; 29extern int yy_flex_debug;
30extern void yyset_in(FILE *); 30extern void yyset_in(FILE *);
31%} 31%}
32 32
33%error-verbose 33%define parse.error verbose
34%locations 34%locations
35 35
36%union { 36%union {
37 char *string; 37 char *string;
38 grecs_value_t svalue, *pvalue; 38 grecs_value_t svalue, *pvalue;
39 struct grecs_list *list; 39 struct grecs_list *list;

Return to:

Send suggestions and report system problems to the System administrator.