]>
Commit | Line | Data |
---|---|---|
2c569025 AD |
1 | #ifndef BISON_PARSE_GRAM_H |
2 | # define BISON_PARSE_GRAM_H | |
e96c9728 | 3 | |
1921f1d7 AD |
4 | /* Tokens. */ |
5 | #ifndef YYTOKENTYPE | |
6 | # if defined (__STDC__) || defined (__cplusplus) | |
7 | /* Put the tokens into the symbol table, so that GDB and other debuggers | |
8 | know about them. */ | |
9 | enum yytokentype { | |
10 | GRAM_EOF = 0, | |
11 | STRING = 258, | |
12 | CHARACTER = 259, | |
13 | INT = 260, | |
14 | PERCENT_TOKEN = 261, | |
15 | PERCENT_NTERM = 262, | |
16 | PERCENT_TYPE = 263, | |
17 | PERCENT_UNION = 264, | |
04e60654 AD |
18 | PERCENT_LEFT = 265, |
19 | PERCENT_RIGHT = 266, | |
20 | PERCENT_NONASSOC = 267, | |
21 | PERCENT_EXPECT = 268, | |
22 | PERCENT_START = 269, | |
23 | PERCENT_PREC = 270, | |
24 | PERCENT_VERBOSE = 271, | |
25 | PERCENT_ERROR_VERBOSE = 272, | |
26 | PERCENT_OUTPUT = 273, | |
27 | PERCENT_FILE_PREFIX = 274, | |
28 | PERCENT_NAME_PREFIX = 275, | |
29 | PERCENT_DEFINE = 276, | |
30 | PERCENT_PURE_PARSER = 277, | |
31 | PERCENT_DEFINES = 278, | |
32 | PERCENT_YACC = 279, | |
33 | PERCENT_DEBUG = 280, | |
34 | PERCENT_LOCATIONS = 281, | |
35 | PERCENT_NO_LINES = 282, | |
36 | PERCENT_SKELETON = 283, | |
37 | PERCENT_TOKEN_TABLE = 284, | |
38 | TYPE = 285, | |
39 | EQUAL = 286, | |
40 | SEMICOLON = 287, | |
41 | COLON = 288, | |
42 | PIPE = 289, | |
43 | ID = 290, | |
44 | PERCENT_PERCENT = 291, | |
45 | PROLOGUE = 292, | |
46 | EPILOGUE = 293, | |
47 | BRACED_CODE = 294 | |
1921f1d7 AD |
48 | }; |
49 | # endif | |
50 | /* POSIX requires `int' for tokens in interfaces. */ | |
51 | # define YYTOKENTYPE int | |
52 | #endif /* !YYTOKENTYPE */ | |
53 | #define GRAM_EOF 0 | |
54 | #define STRING 258 | |
55 | #define CHARACTER 259 | |
56 | #define INT 260 | |
57 | #define PERCENT_TOKEN 261 | |
58 | #define PERCENT_NTERM 262 | |
59 | #define PERCENT_TYPE 263 | |
60 | #define PERCENT_UNION 264 | |
04e60654 AD |
61 | #define PERCENT_LEFT 265 |
62 | #define PERCENT_RIGHT 266 | |
63 | #define PERCENT_NONASSOC 267 | |
64 | #define PERCENT_EXPECT 268 | |
65 | #define PERCENT_START 269 | |
66 | #define PERCENT_PREC 270 | |
67 | #define PERCENT_VERBOSE 271 | |
68 | #define PERCENT_ERROR_VERBOSE 272 | |
69 | #define PERCENT_OUTPUT 273 | |
70 | #define PERCENT_FILE_PREFIX 274 | |
71 | #define PERCENT_NAME_PREFIX 275 | |
72 | #define PERCENT_DEFINE 276 | |
73 | #define PERCENT_PURE_PARSER 277 | |
74 | #define PERCENT_DEFINES 278 | |
75 | #define PERCENT_YACC 279 | |
76 | #define PERCENT_DEBUG 280 | |
77 | #define PERCENT_LOCATIONS 281 | |
78 | #define PERCENT_NO_LINES 282 | |
79 | #define PERCENT_SKELETON 283 | |
80 | #define PERCENT_TOKEN_TABLE 284 | |
81 | #define TYPE 285 | |
82 | #define EQUAL 286 | |
83 | #define SEMICOLON 287 | |
84 | #define COLON 288 | |
85 | #define PIPE 289 | |
86 | #define ID 290 | |
87 | #define PERCENT_PERCENT 291 | |
88 | #define PROLOGUE 292 | |
89 | #define EPILOGUE 293 | |
90 | #define BRACED_CODE 294 | |
1921f1d7 AD |
91 | |
92 | ||
93 | ||
94 | ||
e9955c83 | 95 | #ifndef YYSTYPE |
56c47203 | 96 | #line 90 "parse-gram.y" |
1921f1d7 | 97 | typedef union { |
e9955c83 | 98 | symbol_t *symbol; |
56c47203 | 99 | symbol_list_t *list; |
e9955c83 AD |
100 | int integer; |
101 | char *string; | |
102 | associativity assoc; | |
4cdb01db | 103 | } yystype; |
8efe435c | 104 | /* Line 1271 of /usr/local/share/bison/bison.simple. */ |
1e0bab92 | 105 | #line 106 "y.tab.h" |
e9955c83 AD |
106 | # define YYSTYPE yystype |
107 | #endif | |
108 | ||
1921f1d7 AD |
109 | |
110 | ||
e9955c83 AD |
111 | #ifndef YYLTYPE |
112 | typedef struct yyltype | |
113 | { | |
114 | int first_line; | |
115 | int first_column; | |
116 | int last_line; | |
117 | int last_column; | |
118 | } yyltype; | |
119 | # define YYLTYPE yyltype | |
120 | #endif | |
121 | ||
122 | ||
123 | ||
2c569025 | 124 | #endif /* not BISON_PARSE_GRAM_H */ |
1921f1d7 | 125 |