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