]> git.draconx.ca Git - gob-dx.git/blob - src/parse.h
Release 2.0.19
[gob-dx.git] / src / parse.h
1 /* A Bison parser, made by GNU Bison 2.5.  */
2
3 /* Bison interface for Yacc-like parsers in C
4    
5       Copyright (C) 1984, 1989-1990, 2000-2011 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
34 /* Tokens.  */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37    /* Put the tokens into the symbol table, so that GDB and other debuggers
38       know about them.  */
39    enum yytokentype {
40      CLASS = 258,
41      FROM = 259,
42      CONST = 260,
43      VOID = 261,
44      STRUCT = 262,
45      UNION = 263,
46      ENUM = 264,
47      THREEDOTS = 265,
48      SIGNED = 266,
49      UNSIGNED = 267,
50      LONG = 268,
51      SHORT = 269,
52      INT = 270,
53      FLOAT = 271,
54      DOUBLE = 272,
55      CHAR = 273,
56      TOKEN = 274,
57      NUMBER = 275,
58      TYPETOKEN = 276,
59      ARRAY_DIM = 277,
60      SINGLE_CHAR = 278,
61      CCODE = 279,
62      CTCODE = 280,
63      ADCODE = 281,
64      HTCODE = 282,
65      PHCODE = 283,
66      HCODE = 284,
67      ACODE = 285,
68      ATCODE = 286,
69      STRING = 287,
70      PUBLIC = 288,
71      PRIVATE = 289,
72      PROTECTED = 290,
73      CLASSWIDE = 291,
74      PROPERTY = 292,
75      ARGUMENT = 293,
76      VIRTUAL = 294,
77      SIGNAL = 295,
78      OVERRIDE = 296,
79      NICK = 297,
80      BLURB = 298,
81      MAXIMUM = 299,
82      MINIMUM = 300,
83      DEFAULT_VALUE = 301,
84      ERROR = 302,
85      FLAGS = 303,
86      TYPE = 304,
87      FLAGS_TYPE = 305,
88      ENUM_TYPE = 306,
89      PARAM_TYPE = 307,
90      BOXED_TYPE = 308,
91      OBJECT_TYPE = 309
92    };
93 #endif
94 /* Tokens.  */
95 #define CLASS 258
96 #define FROM 259
97 #define CONST 260
98 #define VOID 261
99 #define STRUCT 262
100 #define UNION 263
101 #define ENUM 264
102 #define THREEDOTS 265
103 #define SIGNED 266
104 #define UNSIGNED 267
105 #define LONG 268
106 #define SHORT 269
107 #define INT 270
108 #define FLOAT 271
109 #define DOUBLE 272
110 #define CHAR 273
111 #define TOKEN 274
112 #define NUMBER 275
113 #define TYPETOKEN 276
114 #define ARRAY_DIM 277
115 #define SINGLE_CHAR 278
116 #define CCODE 279
117 #define CTCODE 280
118 #define ADCODE 281
119 #define HTCODE 282
120 #define PHCODE 283
121 #define HCODE 284
122 #define ACODE 285
123 #define ATCODE 286
124 #define STRING 287
125 #define PUBLIC 288
126 #define PRIVATE 289
127 #define PROTECTED 290
128 #define CLASSWIDE 291
129 #define PROPERTY 292
130 #define ARGUMENT 293
131 #define VIRTUAL 294
132 #define SIGNAL 295
133 #define OVERRIDE 296
134 #define NICK 297
135 #define BLURB 298
136 #define MAXIMUM 299
137 #define MINIMUM 300
138 #define DEFAULT_VALUE 301
139 #define ERROR 302
140 #define FLAGS 303
141 #define TYPE 304
142 #define FLAGS_TYPE 305
143 #define ENUM_TYPE 306
144 #define PARAM_TYPE 307
145 #define BOXED_TYPE 308
146 #define OBJECT_TYPE 309
147
148
149
150
151 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
152 typedef union YYSTYPE
153 {
154
155 /* Line 2068 of yacc.c  */
156 #line 683 "parse.y"
157
158         char *id;
159         GString *cbuf;
160         GList *list;
161         int line;
162         int sigtype;
163
164
165
166 /* Line 2068 of yacc.c  */
167 #line 168 "parse.h"
168 } YYSTYPE;
169 # define YYSTYPE_IS_TRIVIAL 1
170 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
171 # define YYSTYPE_IS_DECLARED 1
172 #endif
173
174 extern YYSTYPE yylval;
175
176