Import upstream sources.
[cparse] / c-parse.h
1 #ifndef BISON_Y_TAB_H
2 # define BISON_Y_TAB_H
3
4 #ifndef YYSTYPE
5 typedef union {
6 long i;
7 unsigned long u;
8 char *s;
9 struct {
10 char *name;
11 struct declarator *declarator;
12 } name;
13 struct declaration_specifiers *declaration_specifiers;
14 struct declarator *declarator;
15 struct parsing_declarator *declarator_parse;
16 struct declaration *declaration;
17 struct identifier_list *identifier_list;
18 struct expression *expression;
19 struct expression_list *expression_list;
20 struct initializer *initializer;
21 struct designator *designator;
22 struct external_declaration *external_declaration;
23 struct function_definition *function_definition;
24 struct enumerator *enumerator;
25 struct statement *statement;
26 /* transients for parsing lists */
27 struct { struct declarator *first, **end; } *declarator_list;
28 struct { struct declaration *first, **end; } *declaration_list;
29 struct { struct identifier_list *first, **end; } *identifier_list_parse;
30 struct { struct expression_list *first, **end; } *parsing_expression_list;
31 struct { struct initializer *first, **end; } *initializer_list;
32 struct { struct designator *first, **end; } *designator_list;
33 struct { struct external_declaration *first, **end; } *external_declaration_list;
34 struct { struct enumerator *first, **end; } *enumerator_list;
35 struct { struct statement *first, **end; } *statement_list;
36 } yystype;
37 # define YYSTYPE yystype
38 # define YYSTYPE_IS_TRIVIAL 1
39 #endif
40
41 #ifndef YYLTYPE
42 typedef struct yyltype
43 {
44 int first_line;
45 int first_column;
46
47 int last_line;
48 int last_column;
49 } yyltype;
50
51 # define YYLTYPE yyltype
52 # define YYLTYPE_IS_TRIVIAL 1
53 #endif
54
55 # define MEMBER 257
56 # define INCR 258
57 # define DECR 259
58 # define SL 260
59 # define SR 261
60 # define LE 262
61 # define GE 263
62 # define EQ 264
63 # define NE 265
64 # define AND 266
65 # define OR 267
66 # define MULEQ 268
67 # define DIVEQ 269
68 # define MODEQ 270
69 # define ADDEQ 271
70 # define SUBEQ 272
71 # define SLEQ 273
72 # define SREQ 274
73 # define ANDEQ 275
74 # define XOREQ 276
75 # define OREQ 277
76 # define VARARG 278
77 # define AUTO 279
78 # define BREAK 280
79 # define CASE 281
80 # define CHAR 282
81 # define CONST 283
82 # define CONTINUE 284
83 # define DEFAULT 285
84 # define DO 286
85 # define DOUBLE 287
86 # define ELSE 288
87 # define ENUM 289
88 # define EXTERN 290
89 # define FLOAT 291
90 # define FOR 292
91 # define GOTO 293
92 # define IF 294
93 # define INLINE 295
94 # define INT 296
95 # define LONG 297
96 # define REGISTER 298
97 # define RESTRICT 299
98 # define RETURN 300
99 # define SHORT 301
100 # define SIGNED 302
101 # define SIZEOF 303
102 # define STATIC 304
103 # define STRUCT 305
104 # define SWITCH 306
105 # define TYPEDEF 307
106 # define UNION 308
107 # define UNSIGNED 309
108 # define VOID 310
109 # define VOLATILE 311
110 # define WHILE 312
111 # define BOOL 313
112 # define COMPLEX 314
113 # define IMAGINARY 315
114 # define ATTRIBUTE 316
115 # define GCC_VA_LIST 317
116 # define GCC_VA_ARG 318
117 # define GCC_EXPECT 319
118 # define TYPEDEF_NAME 320
119 # define ID 321
120 # define NUMBER 322
121 # define STRINGLIT 323
122 # define CHARLIT 324
123 # define WSTRINGLIT 325
124 # define WCHARLIT 326
125
126
127 extern YYSTYPE yylval;
128
129 #endif /* not BISON_Y_TAB_H */