Imported Upstream version 1.35.8
[platform/upstream/gobject-introspection.git] / scannerparser.h
1 /* A Bison parser, made by GNU Bison 2.6.1.  */
2
3 /* Bison interface for Yacc-like parsers in C
4    
5       Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
6    
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation, either version 3 of the License, or
10    (at your option) any later version.
11    
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16    
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
20 /* As a special exception, you may create a larger work that contains
21    part or all of the Bison parser skeleton and distribute that work
22    under terms of your choice, so long as that work isn't itself a
23    parser generator using the skeleton or a modified version thereof
24    as a parser skeleton.  Alternatively, if you modify or redistribute
25    the parser skeleton itself, you may (at your option) remove this
26    special exception, which will cause the skeleton and the resulting
27    Bison output files to be licensed under the GNU General Public
28    License without this special exception.
29    
30    This special exception was added by the Free Software Foundation in
31    version 2.2 of Bison.  */
32
33 #ifndef YY_SCANNERPARSER_H
34 # define YY_SCANNERPARSER_H
35 /* Enabling traces.  */
36 #ifndef YYDEBUG
37 # define YYDEBUG 1
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42
43 /* Tokens.  */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46    /* Put the tokens into the symbol table, so that GDB and other debuggers
47       know about them.  */
48    enum yytokentype {
49      IDENTIFIER = 258,
50      TYPEDEF_NAME = 259,
51      INTEGER = 260,
52      FLOATING = 261,
53      CHARACTER = 262,
54      STRING = 263,
55      INTL_CONST = 264,
56      INTUL_CONST = 265,
57      ELLIPSIS = 266,
58      ADDEQ = 267,
59      SUBEQ = 268,
60      MULEQ = 269,
61      DIVEQ = 270,
62      MODEQ = 271,
63      XOREQ = 272,
64      ANDEQ = 273,
65      OREQ = 274,
66      SL = 275,
67      SR = 276,
68      SLEQ = 277,
69      SREQ = 278,
70      EQ = 279,
71      NOTEQ = 280,
72      LTEQ = 281,
73      GTEQ = 282,
74      ANDAND = 283,
75      OROR = 284,
76      PLUSPLUS = 285,
77      MINUSMINUS = 286,
78      ARROW = 287,
79      AUTO = 288,
80      BOOL = 289,
81      BREAK = 290,
82      CASE = 291,
83      CHAR = 292,
84      CONST = 293,
85      CONTINUE = 294,
86      DEFAULT = 295,
87      DO = 296,
88      DOUBLE = 297,
89      ELSE = 298,
90      ENUM = 299,
91      EXTENSION = 300,
92      EXTERN = 301,
93      FLOAT = 302,
94      FOR = 303,
95      GOTO = 304,
96      IF = 305,
97      INLINE = 306,
98      INT = 307,
99      LONG = 308,
100      REGISTER = 309,
101      RESTRICT = 310,
102      RETURN = 311,
103      SHORT = 312,
104      SIGNED = 313,
105      SIZEOF = 314,
106      STATIC = 315,
107      STRUCT = 316,
108      SWITCH = 317,
109      TYPEDEF = 318,
110      UNION = 319,
111      UNSIGNED = 320,
112      VOID = 321,
113      VOLATILE = 322,
114      WHILE = 323,
115      FUNCTION_MACRO = 324,
116      OBJECT_MACRO = 325
117    };
118 #endif
119 /* Tokens.  */
120 #define IDENTIFIER 258
121 #define TYPEDEF_NAME 259
122 #define INTEGER 260
123 #define FLOATING 261
124 #define CHARACTER 262
125 #define STRING 263
126 #define INTL_CONST 264
127 #define INTUL_CONST 265
128 #define ELLIPSIS 266
129 #define ADDEQ 267
130 #define SUBEQ 268
131 #define MULEQ 269
132 #define DIVEQ 270
133 #define MODEQ 271
134 #define XOREQ 272
135 #define ANDEQ 273
136 #define OREQ 274
137 #define SL 275
138 #define SR 276
139 #define SLEQ 277
140 #define SREQ 278
141 #define EQ 279
142 #define NOTEQ 280
143 #define LTEQ 281
144 #define GTEQ 282
145 #define ANDAND 283
146 #define OROR 284
147 #define PLUSPLUS 285
148 #define MINUSMINUS 286
149 #define ARROW 287
150 #define AUTO 288
151 #define BOOL 289
152 #define BREAK 290
153 #define CASE 291
154 #define CHAR 292
155 #define CONST 293
156 #define CONTINUE 294
157 #define DEFAULT 295
158 #define DO 296
159 #define DOUBLE 297
160 #define ELSE 298
161 #define ENUM 299
162 #define EXTENSION 300
163 #define EXTERN 301
164 #define FLOAT 302
165 #define FOR 303
166 #define GOTO 304
167 #define IF 305
168 #define INLINE 306
169 #define INT 307
170 #define LONG 308
171 #define REGISTER 309
172 #define RESTRICT 310
173 #define RETURN 311
174 #define SHORT 312
175 #define SIGNED 313
176 #define SIZEOF 314
177 #define STATIC 315
178 #define STRUCT 316
179 #define SWITCH 317
180 #define TYPEDEF 318
181 #define UNION 319
182 #define UNSIGNED 320
183 #define VOID 321
184 #define VOLATILE 322
185 #define WHILE 323
186 #define FUNCTION_MACRO 324
187 #define OBJECT_MACRO 325
188
189
190
191 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
192 typedef union YYSTYPE
193 {
194 /* Line 2049 of yacc.c  */
195 #line 134 "giscanner/scannerparser.y"
196
197   char *str;
198   GList *list;
199   GISourceSymbol *symbol;
200   GISourceType *ctype;
201   StorageClassSpecifier storage_class_specifier;
202   TypeQualifier type_qualifier;
203   FunctionSpecifier function_specifier;
204   UnaryOperator unary_operator;
205
206
207 /* Line 2049 of yacc.c  */
208 #line 209 "scannerparser.h"
209 } YYSTYPE;
210 # define YYSTYPE_IS_TRIVIAL 1
211 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
212 # define YYSTYPE_IS_DECLARED 1
213 #endif
214
215 extern YYSTYPE yylval;
216
217 #ifdef YYPARSE_PARAM
218 #if defined __STDC__ || defined __cplusplus
219 int yyparse (void *YYPARSE_PARAM);
220 #else
221 int yyparse ();
222 #endif
223 #else /* ! YYPARSE_PARAM */
224 #if defined __STDC__ || defined __cplusplus
225 int yyparse (GISourceScanner* scanner);
226 #else
227 int yyparse ();
228 #endif
229 #endif /* ! YYPARSE_PARAM */
230
231 #endif /* !YY_SCANNERPARSER_H  */