]> git.draconx.ca Git - gob-dx.git/blob - src/parse.h
1568dc6afc95c2baba2955bc31cf29eba8018ea3
[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      HTCODE = 280,
65      PHCODE = 281,
66      HCODE = 282,
67      ACODE = 283,
68      ATCODE = 284,
69      STRING = 285,
70      PUBLIC = 286,
71      PRIVATE = 287,
72      PROTECTED = 288,
73      CLASSWIDE = 289,
74      PROPERTY = 290,
75      ARGUMENT = 291,
76      VIRTUAL = 292,
77      SIGNAL = 293,
78      OVERRIDE = 294,
79      NICK = 295,
80      BLURB = 296,
81      MAXIMUM = 297,
82      MINIMUM = 298,
83      DEFAULT_VALUE = 299,
84      ERROR = 300,
85      FLAGS = 301,
86      TYPE = 302,
87      FLAGS_TYPE = 303,
88      ENUM_TYPE = 304,
89      PARAM_TYPE = 305,
90      BOXED_TYPE = 306,
91      OBJECT_TYPE = 307
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 HTCODE 280
118 #define PHCODE 281
119 #define HCODE 282
120 #define ACODE 283
121 #define ATCODE 284
122 #define STRING 285
123 #define PUBLIC 286
124 #define PRIVATE 287
125 #define PROTECTED 288
126 #define CLASSWIDE 289
127 #define PROPERTY 290
128 #define ARGUMENT 291
129 #define VIRTUAL 292
130 #define SIGNAL 293
131 #define OVERRIDE 294
132 #define NICK 295
133 #define BLURB 296
134 #define MAXIMUM 297
135 #define MINIMUM 298
136 #define DEFAULT_VALUE 299
137 #define ERROR 300
138 #define FLAGS 301
139 #define TYPE 302
140 #define FLAGS_TYPE 303
141 #define ENUM_TYPE 304
142 #define PARAM_TYPE 305
143 #define BOXED_TYPE 306
144 #define OBJECT_TYPE 307
145
146
147
148
149 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
150 typedef union YYSTYPE
151 #line 668 "parse.y"
152 {
153         char *id;
154         GString *cbuf;
155         GList *list;
156         int line;
157         int sigtype;
158 }
159 /* Line 1489 of yacc.c.  */
160 #line 161 "parse.h"
161         YYSTYPE;
162 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
163 # define YYSTYPE_IS_DECLARED 1
164 # define YYSTYPE_IS_TRIVIAL 1
165 #endif
166
167 extern YYSTYPE yylval;
168