diff options
Diffstat (limited to 'src/meta1-gram.y')
-rw-r--r-- | src/meta1-gram.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/meta1-gram.y b/src/meta1-gram.y index 0fb6727..1411361 100644 --- a/src/meta1-gram.y +++ b/src/meta1-gram.y | |||
@@ -18,25 +18,26 @@ | |||
18 | #ifdef HAVE_CONFIG_H | 18 | #ifdef HAVE_CONFIG_H |
19 | # include <config.h> | 19 | # include <config.h> |
20 | #endif | 20 | #endif |
21 | #include <errno.h> | 21 | #include <errno.h> |
22 | #include <string.h> | 22 | #include <string.h> |
23 | #include "grecs.h" | 23 | #include "grecs.h" |
24 | #include "grecs-locus.h" | 24 | #include "grecs-locus.h" |
25 | 25 | ||
26 | int yylex(void); | 26 | int yylex(void); |
27 | int yyerror(char *s); | 27 | int yyerror(char *s); |
28 | 28 | ||
29 | static struct grecs_node *parse_tree; | 29 | static struct grecs_node *parse_tree; |
30 | extern int yy_flex_debug; | 30 | extern int yy_flex_debug; |
31 | extern void yyset_in(FILE *); | ||
31 | %} | 32 | %} |
32 | 33 | ||
33 | %error-verbose | 34 | %error-verbose |
34 | %locations | 35 | %locations |
35 | 36 | ||
36 | %union { | 37 | %union { |
37 | char *string; | 38 | char *string; |
38 | grecs_value_t svalue, *pvalue; | 39 | grecs_value_t svalue, *pvalue; |
39 | struct grecs_list *list; | 40 | struct grecs_list *list; |
40 | struct { struct grecs_node *head, *tail; } node_list; | 41 | struct { struct grecs_node *head, *tail; } node_list; |
41 | struct grecs_node *node; | 42 | struct grecs_node *node; |
42 | } | 43 | } |