]>
Commit | Line | Data |
---|---|---|
1 | #ifndef BISON_PARSE_GRAM_H | |
2 | # define BISON_PARSE_GRAM_H | |
3 | ||
4 | #ifndef YYSTYPE | |
5 | typedef union | |
6 | { | |
7 | symbol_t *symbol; | |
8 | int integer; | |
9 | char *string; | |
10 | associativity assoc; | |
11 | } yystype; | |
12 | # define YYSTYPE yystype | |
13 | # define YYSTYPE_IS_TRIVIAL 1 | |
14 | #endif | |
15 | ||
16 | #ifndef YYLTYPE | |
17 | typedef struct yyltype | |
18 | { | |
19 | int first_line; | |
20 | int first_column; | |
21 | ||
22 | int last_line; | |
23 | int last_column; | |
24 | } yyltype; | |
25 | ||
26 | # define YYLTYPE yyltype | |
27 | # define YYLTYPE_IS_TRIVIAL 1 | |
28 | #endif | |
29 | ||
30 | # define GRAM_EOF 0 | |
31 | # define STRING 257 | |
32 | # define CHARACTER 258 | |
33 | # define INT 259 | |
34 | # define PERCENT_TOKEN 260 | |
35 | # define PERCENT_NTERM 261 | |
36 | # define PERCENT_TYPE 262 | |
37 | # define PERCENT_UNION 263 | |
38 | # define PERCENT_EXPECT 264 | |
39 | # define PERCENT_START 265 | |
40 | # define PERCENT_LEFT 266 | |
41 | # define PERCENT_RIGHT 267 | |
42 | # define PERCENT_NONASSOC 268 | |
43 | # define PERCENT_PREC 269 | |
44 | # define PERCENT_VERBOSE 270 | |
45 | # define PERCENT_ERROR_VERBOSE 271 | |
46 | # define PERCENT_OUTPUT 272 | |
47 | # define PERCENT_FILE_PREFIX 273 | |
48 | # define PERCENT_NAME_PREFIX 274 | |
49 | # define PERCENT_DEFINE 275 | |
50 | # define PERCENT_PURE_PARSER 276 | |
51 | # define PERCENT_DEFINES 277 | |
52 | # define PERCENT_YACC 278 | |
53 | # define PERCENT_DEBUG 279 | |
54 | # define PERCENT_LOCATIONS 280 | |
55 | # define PERCENT_NO_LINES 281 | |
56 | # define PERCENT_SKELETON 282 | |
57 | # define PERCENT_TOKEN_TABLE 283 | |
58 | # define TYPE 284 | |
59 | # define EQUAL 285 | |
60 | # define SEMICOLON 286 | |
61 | # define COLON 287 | |
62 | # define PIPE 288 | |
63 | # define ID 289 | |
64 | # define PERCENT_PERCENT 290 | |
65 | # define PROLOGUE 291 | |
66 | # define EPILOGUE 292 | |
67 | # define BRACED_CODE 293 | |
68 | ||
69 | ||
70 | #endif /* not BISON_PARSE_GRAM_H */ |