]> git.saurik.com Git - bison.git/blob - src/parse-gram.h
57314fcf6619b9e9a9f19074bd5f42d0c1fa3fa4
[bison.git] / src / parse-gram.h
1 #ifndef BISON_PARSE_GRAM_H
2 # define BISON_PARSE_GRAM_H
3
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_DESTRUCTOR = 264,
18 PERCENT_PRINTER = 265,
19 PERCENT_UNION = 266,
20 PERCENT_LEFT = 267,
21 PERCENT_RIGHT = 268,
22 PERCENT_NONASSOC = 269,
23 PERCENT_EXPECT = 270,
24 PERCENT_START = 271,
25 PERCENT_PREC = 272,
26 PERCENT_DPREC = 273,
27 PERCENT_MERGE = 274,
28 PERCENT_VERBOSE = 275,
29 PERCENT_ERROR_VERBOSE = 276,
30 PERCENT_OUTPUT = 277,
31 PERCENT_FILE_PREFIX = 278,
32 PERCENT_NAME_PREFIX = 279,
33 PERCENT_DEFINE = 280,
34 PERCENT_PURE_PARSER = 281,
35 PERCENT_GLR_PARSER = 282,
36 PERCENT_DEFINES = 283,
37 PERCENT_YACC = 284,
38 PERCENT_DEBUG = 285,
39 PERCENT_LOCATIONS = 286,
40 PERCENT_NO_LINES = 287,
41 PERCENT_SKELETON = 288,
42 PERCENT_TOKEN_TABLE = 289,
43 TYPE = 290,
44 EQUAL = 291,
45 SEMICOLON = 292,
46 COLON = 293,
47 PIPE = 294,
48 ID = 295,
49 PERCENT_PERCENT = 296,
50 PROLOGUE = 297,
51 EPILOGUE = 298,
52 BRACED_CODE = 299
53 };
54 # endif
55 /* POSIX requires `int' for tokens in interfaces. */
56 # define YYTOKENTYPE int
57 #endif /* !YYTOKENTYPE */
58 #define GRAM_EOF 0
59 #define STRING 258
60 #define CHARACTER 259
61 #define INT 260
62 #define PERCENT_TOKEN 261
63 #define PERCENT_NTERM 262
64 #define PERCENT_TYPE 263
65 #define PERCENT_DESTRUCTOR 264
66 #define PERCENT_PRINTER 265
67 #define PERCENT_UNION 266
68 #define PERCENT_LEFT 267
69 #define PERCENT_RIGHT 268
70 #define PERCENT_NONASSOC 269
71 #define PERCENT_EXPECT 270
72 #define PERCENT_START 271
73 #define PERCENT_PREC 272
74 #define PERCENT_DPREC 273
75 #define PERCENT_MERGE 274
76 #define PERCENT_VERBOSE 275
77 #define PERCENT_ERROR_VERBOSE 276
78 #define PERCENT_OUTPUT 277
79 #define PERCENT_FILE_PREFIX 278
80 #define PERCENT_NAME_PREFIX 279
81 #define PERCENT_DEFINE 280
82 #define PERCENT_PURE_PARSER 281
83 #define PERCENT_GLR_PARSER 282
84 #define PERCENT_DEFINES 283
85 #define PERCENT_YACC 284
86 #define PERCENT_DEBUG 285
87 #define PERCENT_LOCATIONS 286
88 #define PERCENT_NO_LINES 287
89 #define PERCENT_SKELETON 288
90 #define PERCENT_TOKEN_TABLE 289
91 #define TYPE 290
92 #define EQUAL 291
93 #define SEMICOLON 292
94 #define COLON 293
95 #define PIPE 294
96 #define ID 295
97 #define PERCENT_PERCENT 296
98 #define PROLOGUE 297
99 #define EPILOGUE 298
100 #define BRACED_CODE 299
101
102
103
104
105 #ifndef YYSTYPE
106 #line 88 "parse-gram.y"
107 typedef union {
108 symbol_t *symbol;
109 symbol_list_t *list;
110 int integer;
111 char *string;
112 associativity assoc;
113 } yystype;
114 /* Line 1353 of /home/lrde/prof/akim/src/bison/data/yacc.c. */
115 #line 116 "y.tab.h"
116 # define YYSTYPE yystype
117 #endif
118
119
120
121 #ifndef YYLTYPE
122 typedef struct yyltype
123 {
124 int first_line;
125 int first_column;
126 int last_line;
127 int last_column;
128 } yyltype;
129 # define YYLTYPE yyltype
130 #endif
131
132
133
134 #endif /* not BISON_PARSE_GRAM_H */
135