]> git.draconx.ca Git - gob-dx.git/blob - src/parse.h
Release 2.0.18
[gob-dx.git] / src / parse.h
1 /* A Bison parser, made by GNU Bison 2.4.3.  */
2
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4    
5       Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
6    2009, 2010 Free Software Foundation, Inc.
7    
8    This program is free software: you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation, either version 3 of the License, or
11    (at your option) any later version.
12    
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17    
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20
21 /* As a special exception, you may create a larger work that contains
22    part or all of the Bison parser skeleton and distribute that work
23    under terms of your choice, so long as that work isn't itself a
24    parser generator using the skeleton or a modified version thereof
25    as a parser skeleton.  Alternatively, if you modify or redistribute
26    the parser skeleton itself, you may (at your option) remove this
27    special exception, which will cause the skeleton and the resulting
28    Bison output files to be licensed under the GNU General Public
29    License without this special exception.
30    
31    This special exception was added by the Free Software Foundation in
32    version 2.2 of Bison.  */
33
34
35 /* Tokens.  */
36 #ifndef YYTOKENTYPE
37 # define YYTOKENTYPE
38    /* Put the tokens into the symbol table, so that GDB and other debuggers
39       know about them.  */
40    enum yytokentype {
41      CLASS = 258,
42      FROM = 259,
43      CONST = 260,
44      VOID = 261,
45      STRUCT = 262,
46      UNION = 263,
47      ENUM = 264,
48      THREEDOTS = 265,
49      SIGNED = 266,
50      UNSIGNED = 267,
51      LONG = 268,
52      SHORT = 269,
53      INT = 270,
54      FLOAT = 271,
55      DOUBLE = 272,
56      CHAR = 273,
57      TOKEN = 274,
58      NUMBER = 275,
59      TYPETOKEN = 276,
60      ARRAY_DIM = 277,
61      SINGLE_CHAR = 278,
62      CCODE = 279,
63      CTCODE = 280,
64      ADCODE = 281,
65      HTCODE = 282,
66      PHCODE = 283,
67      HCODE = 284,
68      ACODE = 285,
69      ATCODE = 286,
70      STRING = 287,
71      PUBLIC = 288,
72      PRIVATE = 289,
73      PROTECTED = 290,
74      CLASSWIDE = 291,
75      PROPERTY = 292,
76      ARGUMENT = 293,
77      VIRTUAL = 294,
78      SIGNAL = 295,
79      OVERRIDE = 296,
80      NICK = 297,
81      BLURB = 298,
82      MAXIMUM = 299,
83      MINIMUM = 300,
84      DEFAULT_VALUE = 301,
85      ERROR = 302,
86      FLAGS = 303,
87      TYPE = 304,
88      FLAGS_TYPE = 305,
89      ENUM_TYPE = 306,
90      PARAM_TYPE = 307,
91      BOXED_TYPE = 308,
92      OBJECT_TYPE = 309
93    };
94 #endif
95 /* Tokens.  */
96 #define CLASS 258
97 #define FROM 259
98 #define CONST 260
99 #define VOID 261
100 #define STRUCT 262
101 #define UNION 263
102 #define ENUM 264
103 #define THREEDOTS 265
104 #define SIGNED 266
105 #define UNSIGNED 267
106 #define LONG 268
107 #define SHORT 269
108 #define INT 270
109 #define FLOAT 271
110 #define DOUBLE 272
111 #define CHAR 273
112 #define TOKEN 274
113 #define NUMBER 275
114 #define TYPETOKEN 276
115 #define ARRAY_DIM 277
116 #define SINGLE_CHAR 278
117 #define CCODE 279
118 #define CTCODE 280
119 #define ADCODE 281
120 #define HTCODE 282
121 #define PHCODE 283
122 #define HCODE 284
123 #define ACODE 285
124 #define ATCODE 286
125 #define STRING 287
126 #define PUBLIC 288
127 #define PRIVATE 289
128 #define PROTECTED 290
129 #define CLASSWIDE 291
130 #define PROPERTY 292
131 #define ARGUMENT 293
132 #define VIRTUAL 294
133 #define SIGNAL 295
134 #define OVERRIDE 296
135 #define NICK 297
136 #define BLURB 298
137 #define MAXIMUM 299
138 #define MINIMUM 300
139 #define DEFAULT_VALUE 301
140 #define ERROR 302
141 #define FLAGS 303
142 #define TYPE 304
143 #define FLAGS_TYPE 305
144 #define ENUM_TYPE 306
145 #define PARAM_TYPE 307
146 #define BOXED_TYPE 308
147 #define OBJECT_TYPE 309
148
149
150
151
152 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
153 typedef union YYSTYPE
154 {
155
156 /* Line 1685 of yacc.c  */
157 #line 683 "parse.y"
158
159         char *id;
160         GString *cbuf;
161         GList *list;
162         int line;
163         int sigtype;
164
165
166
167 /* Line 1685 of yacc.c  */
168 #line 169 "parse.h"
169 } YYSTYPE;
170 # define YYSTYPE_IS_TRIVIAL 1
171 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
172 # define YYSTYPE_IS_DECLARED 1
173 #endif
174
175 extern YYSTYPE yylval;
176
177