1
/* A Bison parser, made by GNU Bison 1.875. */
3
/* Skeleton parser for Yacc-like parsing with Bison,
4
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
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)
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.
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. */
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. */
29
/* Put the tokens into the symbol table, so that GDB and other debuggers
69
SAMPLER1DSHADOW = 295,
70
SAMPLER2DSHADOW = 296,
76
FIELD_SELECTION = 302,
124
#define ATTRIBUTE 258
125
#define CONST_QUAL 259
126
#define BOOL_TYPE 260
127
#define FLOAT_TYPE 261
151
#define INOUT_QUAL 285
155
#define VOID_TYPE 289
157
#define SAMPLER1D 291
158
#define SAMPLER2D 292
159
#define SAMPLER3D 293
160
#define SAMPLERCUBE 294
161
#define SAMPLER1DSHADOW 295
162
#define SAMPLER2DSHADOW 296
163
#define IDENTIFIER 297
164
#define TYPE_NAME 298
165
#define FLOATCONSTANT 299
166
#define INTCONSTANT 300
167
#define BOOLCONSTANT 301
168
#define FIELD_SELECTION 302
180
#define MUL_ASSIGN 314
181
#define DIV_ASSIGN 315
182
#define ADD_ASSIGN 316
183
#define MOD_ASSIGN 317
184
#define LEFT_ASSIGN 318
185
#define RIGHT_ASSIGN 319
186
#define AND_ASSIGN 320
187
#define XOR_ASSIGN 321
188
#define OR_ASSIGN 322
189
#define SUB_ASSIGN 323
190
#define LEFT_PAREN 324
191
#define RIGHT_PAREN 325
192
#define LEFT_BRACKET 326
193
#define RIGHT_BRACKET 327
194
#define LEFT_BRACE 328
195
#define RIGHT_BRACE 329
200
#define SEMICOLON 334
208
#define LEFT_ANGLE 342
209
#define RIGHT_ANGLE 343
210
#define VERTICAL_BAR 344
212
#define AMPERSAND 346
218
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
219
#line 117 "glslang.y"
220
typedef union YYSTYPE {
235
TIntermNode* intermNode;
236
TIntermNodePair nodePair;
237
TIntermTyped* intermTypedNode;
238
TIntermAggregate* intermAggregate;
242
TQualifier qualifier;
250
/* Line 1240 of yacc.c. */
251
#line 251 "glslang.tab.h"
252
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
253
# define YYSTYPE_IS_DECLARED 1
254
# define YYSTYPE_IS_TRIVIAL 1