aboutsummaryrefslogtreecommitdiff
path: root/src/meta1-gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/meta1-gram.y')
-rw-r--r--src/meta1-gram.y3
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
26int yylex(void); 26int yylex(void);
27int yyerror(char *s); 27int yyerror(char *s);
28 28
29static struct grecs_node *parse_tree; 29static struct grecs_node *parse_tree;
30extern int yy_flex_debug; 30extern int yy_flex_debug;
31extern 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}

Return to:

Send suggestions and report system problems to the System administrator.