]> git.draconx.ca Git - gob-dx.git/blob - src/parse.h
e07616e8528562b2394fc65905be671a79650562
[gob-dx.git] / src / parse.h
1 /* A Bison parser, made by GNU Bison 2.7.  */
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_YY_PARSE_H_INCLUDED
34 # define YY_YY_PARSE_H_INCLUDED
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      CLASS = 258,
50      FROM = 259,
51      CONST = 260,
52      VOID = 261,
53      STRUCT = 262,
54      UNION = 263,
55      ENUM = 264,
56      THREEDOTS = 265,
57      SIGNED = 266,
58      UNSIGNED = 267,
59      LONG = 268,
60      SHORT = 269,
61      INT = 270,
62      FLOAT = 271,
63      DOUBLE = 272,
64      CHAR = 273,
65      TOKEN = 274,
66      NUMBER = 275,
67      TYPETOKEN = 276,
68      ARRAY_DIM = 277,
69      SINGLE_CHAR = 278,
70      CCODE = 279,
71      CTCODE = 280,
72      ADCODE = 281,
73      HTCODE = 282,
74      PHCODE = 283,
75      HCODE = 284,
76      ACODE = 285,
77      ATCODE = 286,
78      STRING = 287,
79      PUBLIC = 288,
80      PRIVATE = 289,
81      PROTECTED = 290,
82      CLASSWIDE = 291,
83      PROPERTY = 292,
84      ARGUMENT = 293,
85      VIRTUAL = 294,
86      SIGNAL = 295,
87      OVERRIDE = 296,
88      NAME = 297,
89      NICK = 298,
90      BLURB = 299,
91      MAXIMUM = 300,
92      MINIMUM = 301,
93      DEFAULT_VALUE = 302,
94      ERROR = 303,
95      FLAGS = 304,
96      TYPE = 305,
97      FLAGS_TYPE = 306,
98      ENUM_TYPE = 307,
99      PARAM_TYPE = 308,
100      BOXED_TYPE = 309,
101      OBJECT_TYPE = 310
102    };
103 #endif
104 /* Tokens.  */
105 #define CLASS 258
106 #define FROM 259
107 #define CONST 260
108 #define VOID 261
109 #define STRUCT 262
110 #define UNION 263
111 #define ENUM 264
112 #define THREEDOTS 265
113 #define SIGNED 266
114 #define UNSIGNED 267
115 #define LONG 268
116 #define SHORT 269
117 #define INT 270
118 #define FLOAT 271
119 #define DOUBLE 272
120 #define CHAR 273
121 #define TOKEN 274
122 #define NUMBER 275
123 #define TYPETOKEN 276
124 #define ARRAY_DIM 277
125 #define SINGLE_CHAR 278
126 #define CCODE 279
127 #define CTCODE 280
128 #define ADCODE 281
129 #define HTCODE 282
130 #define PHCODE 283
131 #define HCODE 284
132 #define ACODE 285
133 #define ATCODE 286
134 #define STRING 287
135 #define PUBLIC 288
136 #define PRIVATE 289
137 #define PROTECTED 290
138 #define CLASSWIDE 291
139 #define PROPERTY 292
140 #define ARGUMENT 293
141 #define VIRTUAL 294
142 #define SIGNAL 295
143 #define OVERRIDE 296
144 #define NAME 297
145 #define NICK 298
146 #define BLURB 299
147 #define MAXIMUM 300
148 #define MINIMUM 301
149 #define DEFAULT_VALUE 302
150 #define ERROR 303
151 #define FLAGS 304
152 #define TYPE 305
153 #define FLAGS_TYPE 306
154 #define ENUM_TYPE 307
155 #define PARAM_TYPE 308
156 #define BOXED_TYPE 309
157 #define OBJECT_TYPE 310
158
159
160
161 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
162 typedef union YYSTYPE
163 {
164 /* Line 2058 of yacc.c  */
165 #line 692 "parse.y"
166
167         char *id;
168         GString *cbuf;
169         GList *list;
170         int line;
171         int sigtype;
172
173
174 /* Line 2058 of yacc.c  */
175 #line 176 "parse.h"
176 } YYSTYPE;
177 # define YYSTYPE_IS_TRIVIAL 1
178 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
179 # define YYSTYPE_IS_DECLARED 1
180 #endif
181
182 extern YYSTYPE yylval;
183
184 #ifdef YYPARSE_PARAM
185 #if defined __STDC__ || defined __cplusplus
186 int yyparse (void *YYPARSE_PARAM);
187 #else
188 int yyparse ();
189 #endif
190 #else /* ! YYPARSE_PARAM */
191 #if defined __STDC__ || defined __cplusplus
192 int yyparse (void);
193 #else
194 int yyparse ();
195 #endif
196 #endif /* ! YYPARSE_PARAM */
197
198 #endif /* !YY_YY_PARSE_H_INCLUDED  */