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