File: parse.h

package info (click to toggle)
gccxml 0.7.0%2Bcvs20060311-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 45,240 kB
  • ctags: 59,007
  • sloc: ansic: 589,435; asm: 19,610; cpp: 12,681; sh: 4,326; yacc: 3,727; makefile: 3,074; perl: 318; lex: 307; awk: 117; pascal: 78; sed: 20
file content (233 lines) | stat: -rw-r--r-- 5,506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
/* A Bison parser, made by GNU Bison 1.875a.  */

/* Skeleton parser for Yacc-like parsing with Bison,
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     IDENTIFIER = 258,
     tTYPENAME = 259,
     SELFNAME = 260,
     PFUNCNAME = 261,
     SCSPEC = 262,
     TYPESPEC = 263,
     CV_QUALIFIER = 264,
     CONSTANT = 265,
     VAR_FUNC_NAME = 266,
     STRING = 267,
     ELLIPSIS = 268,
     SIZEOF = 269,
     ENUM = 270,
     IF = 271,
     ELSE = 272,
     WHILE = 273,
     DO = 274,
     FOR = 275,
     SWITCH = 276,
     CASE = 277,
     DEFAULT = 278,
     BREAK = 279,
     CONTINUE = 280,
     RETURN_KEYWORD = 281,
     GOTO = 282,
     ASM_KEYWORD = 283,
     TYPEOF = 284,
     ALIGNOF = 285,
     SIGOF = 286,
     ATTRIBUTE = 287,
     EXTENSION = 288,
     LABEL = 289,
     REALPART = 290,
     IMAGPART = 291,
     VA_ARG = 292,
     AGGR = 293,
     VISSPEC = 294,
     DELETE = 295,
     NEW = 296,
     THIS = 297,
     OPERATOR = 298,
     CXX_TRUE = 299,
     CXX_FALSE = 300,
     NAMESPACE = 301,
     TYPENAME_KEYWORD = 302,
     USING = 303,
     LEFT_RIGHT = 304,
     TEMPLATE = 305,
     TYPEID = 306,
     DYNAMIC_CAST = 307,
     STATIC_CAST = 308,
     REINTERPRET_CAST = 309,
     CONST_CAST = 310,
     SCOPE = 311,
     EXPORT = 312,
     EMPTY = 313,
     NSNAME = 314,
     PTYPENAME = 315,
     THROW = 316,
     ASSIGN = 317,
     OROR = 318,
     ANDAND = 319,
     MIN_MAX = 320,
     EQCOMPARE = 321,
     ARITHCOMPARE = 322,
     RSHIFT = 323,
     LSHIFT = 324,
     DOT_STAR = 325,
     POINTSAT_STAR = 326,
     MINUSMINUS = 327,
     PLUSPLUS = 328,
     UNARY = 329,
     HYPERUNARY = 330,
     POINTSAT = 331,
     CATCH = 332,
     TRY = 333,
     EXTERN_LANG_STRING = 334,
     ALL = 335,
     PRE_PARSED_CLASS_DECL = 336,
     DEFARG = 337,
     DEFARG_MARKER = 338,
     PRE_PARSED_FUNCTION_DECL = 339,
     TYPENAME_DEFN = 340,
     IDENTIFIER_DEFN = 341,
     PTYPENAME_DEFN = 342,
     END_OF_LINE = 343,
     END_OF_SAVED_INPUT = 344
   };
#endif
#define IDENTIFIER 258
#define tTYPENAME 259
#define SELFNAME 260
#define PFUNCNAME 261
#define SCSPEC 262
#define TYPESPEC 263
#define CV_QUALIFIER 264
#define CONSTANT 265
#define VAR_FUNC_NAME 266
#define STRING 267
#define ELLIPSIS 268
#define SIZEOF 269
#define ENUM 270
#define IF 271
#define ELSE 272
#define WHILE 273
#define DO 274
#define FOR 275
#define SWITCH 276
#define CASE 277
#define DEFAULT 278
#define BREAK 279
#define CONTINUE 280
#define RETURN_KEYWORD 281
#define GOTO 282
#define ASM_KEYWORD 283
#define TYPEOF 284
#define ALIGNOF 285
#define SIGOF 286
#define ATTRIBUTE 287
#define EXTENSION 288
#define LABEL 289
#define REALPART 290
#define IMAGPART 291
#define VA_ARG 292
#define AGGR 293
#define VISSPEC 294
#define DELETE 295
#define NEW 296
#define THIS 297
#define OPERATOR 298
#define CXX_TRUE 299
#define CXX_FALSE 300
#define NAMESPACE 301
#define TYPENAME_KEYWORD 302
#define USING 303
#define LEFT_RIGHT 304
#define TEMPLATE 305
#define TYPEID 306
#define DYNAMIC_CAST 307
#define STATIC_CAST 308
#define REINTERPRET_CAST 309
#define CONST_CAST 310
#define SCOPE 311
#define EXPORT 312
#define EMPTY 313
#define NSNAME 314
#define PTYPENAME 315
#define THROW 316
#define ASSIGN 317
#define OROR 318
#define ANDAND 319
#define MIN_MAX 320
#define EQCOMPARE 321
#define ARITHCOMPARE 322
#define RSHIFT 323
#define LSHIFT 324
#define DOT_STAR 325
#define POINTSAT_STAR 326
#define MINUSMINUS 327
#define PLUSPLUS 328
#define UNARY 329
#define HYPERUNARY 330
#define POINTSAT 331
#define CATCH 332
#define TRY 333
#define EXTERN_LANG_STRING 334
#define ALL 335
#define PRE_PARSED_CLASS_DECL 336
#define DEFARG 337
#define DEFARG_MARKER 338
#define PRE_PARSED_FUNCTION_DECL 339
#define TYPENAME_DEFN 340
#define IDENTIFIER_DEFN 341
#define PTYPENAME_DEFN 342
#define END_OF_LINE 343
#define END_OF_SAVED_INPUT 344




#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 271 "parse.y"
typedef union YYSTYPE { GTY(())
  long itype;
  tree ttype;
  char *strtype;
  enum tree_code code;
  flagged_type_tree ftype;
  struct unparsed_text *pi;
} YYSTYPE;
/* Line 1240 of yacc.c.  */
#line 224 "p5244.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif

extern YYSTYPE yylval;



#define YYEMPTY         (-2)