]> git.draconx.ca Git - gob-dx.git/blob - src/parse.h
Release 2.0.16
[gob-dx.git] / src / parse.h
1 /* A Bison parser, made by GNU Bison 2.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    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 2, or (at your option)
11    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, write to the Free Software
20    Foundation, Inc., 51 Franklin Street, Fifth Floor,
21    Boston, MA 02110-1301, USA.  */
22
23 /* As a special exception, you may create a larger work that contains
24    part or all of the Bison parser skeleton and distribute that work
25    under terms of your choice, so long as that work isn't itself a
26    parser generator using the skeleton or a modified version thereof
27    as a parser skeleton.  Alternatively, if you modify or redistribute
28    the parser skeleton itself, you may (at your option) remove this
29    special exception, which will cause the skeleton and the resulting
30    Bison output files to be licensed under the GNU General Public
31    License without this special exception.
32
33    This special exception was added by the Free Software Foundation in
34    version 2.2 of Bison.  */
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 #line 678 "parse.y"
154 {
155         char *id;
156         GString *cbuf;
157         GList *list;
158         int line;
159         int sigtype;
160 }
161 /* Line 1489 of yacc.c.  */
162 #line 163 "parse.h"
163         YYSTYPE;
164 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
165 # define YYSTYPE_IS_DECLARED 1
166 # define YYSTYPE_IS_TRIVIAL 1
167 #endif
168
169 extern YYSTYPE yylval;
170