~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/mesa/shader/slang/MachineIndependent/glslang_tab.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* A Bison parser, made by GNU Bison 1.875.  */
2
 
 
3
 
/* Skeleton parser for Yacc-like parsing with Bison,
4
 
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 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
 
     ATTRIBUTE = 258,
33
 
     CONST_QUAL = 259,
34
 
     BOOL_TYPE = 260,
35
 
     FLOAT_TYPE = 261,
36
 
     INT_TYPE = 262,
37
 
     BREAK = 263,
38
 
     CONTINUE = 264,
39
 
     DO = 265,
40
 
     ELSE = 266,
41
 
     FOR = 267,
42
 
     IF = 268,
43
 
     DISCARD = 269,
44
 
     RETURN = 270,
45
 
     BVEC2 = 271,
46
 
     BVEC3 = 272,
47
 
     BVEC4 = 273,
48
 
     IVEC2 = 274,
49
 
     IVEC3 = 275,
50
 
     IVEC4 = 276,
51
 
     VEC2 = 277,
52
 
     VEC3 = 278,
53
 
     VEC4 = 279,
54
 
     MATRIX2 = 280,
55
 
     MATRIX3 = 281,
56
 
     MATRIX4 = 282,
57
 
     IN_QUAL = 283,
58
 
     OUT_QUAL = 284,
59
 
     INOUT_QUAL = 285,
60
 
     UNIFORM = 286,
61
 
     VARYING = 287,
62
 
     STRUCT = 288,
63
 
     VOID_TYPE = 289,
64
 
     WHILE = 290,
65
 
     SAMPLER1D = 291,
66
 
     SAMPLER2D = 292,
67
 
     SAMPLER3D = 293,
68
 
     SAMPLERCUBE = 294,
69
 
     SAMPLER1DSHADOW = 295,
70
 
     SAMPLER2DSHADOW = 296,
71
 
     IDENTIFIER = 297,
72
 
     TYPE_NAME = 298,
73
 
     FLOATCONSTANT = 299,
74
 
     INTCONSTANT = 300,
75
 
     BOOLCONSTANT = 301,
76
 
     FIELD_SELECTION = 302,
77
 
     LEFT_OP = 303,
78
 
     RIGHT_OP = 304,
79
 
     INC_OP = 305,
80
 
     DEC_OP = 306,
81
 
     LE_OP = 307,
82
 
     GE_OP = 308,
83
 
     EQ_OP = 309,
84
 
     NE_OP = 310,
85
 
     AND_OP = 311,
86
 
     OR_OP = 312,
87
 
     XOR_OP = 313,
88
 
     MUL_ASSIGN = 314,
89
 
     DIV_ASSIGN = 315,
90
 
     ADD_ASSIGN = 316,
91
 
     MOD_ASSIGN = 317,
92
 
     LEFT_ASSIGN = 318,
93
 
     RIGHT_ASSIGN = 319,
94
 
     AND_ASSIGN = 320,
95
 
     XOR_ASSIGN = 321,
96
 
     OR_ASSIGN = 322,
97
 
     SUB_ASSIGN = 323,
98
 
     LEFT_PAREN = 324,
99
 
     RIGHT_PAREN = 325,
100
 
     LEFT_BRACKET = 326,
101
 
     RIGHT_BRACKET = 327,
102
 
     LEFT_BRACE = 328,
103
 
     RIGHT_BRACE = 329,
104
 
     DOT = 330,
105
 
     COMMA = 331,
106
 
     COLON = 332,
107
 
     EQUAL = 333,
108
 
     SEMICOLON = 334,
109
 
     BANG = 335,
110
 
     DASH = 336,
111
 
     TILDE = 337,
112
 
     PLUS = 338,
113
 
     STAR = 339,
114
 
     SLASH = 340,
115
 
     PERCENT = 341,
116
 
     LEFT_ANGLE = 342,
117
 
     RIGHT_ANGLE = 343,
118
 
     VERTICAL_BAR = 344,
119
 
     CARET = 345,
120
 
     AMPERSAND = 346,
121
 
     QUESTION = 347
122
 
   };
123
 
#endif
124
 
#define ATTRIBUTE 258
125
 
#define CONST_QUAL 259
126
 
#define BOOL_TYPE 260
127
 
#define FLOAT_TYPE 261
128
 
#define INT_TYPE 262
129
 
#define BREAK 263
130
 
#define CONTINUE 264
131
 
#define DO 265
132
 
#define ELSE 266
133
 
#define FOR 267
134
 
#define IF 268
135
 
#define DISCARD 269
136
 
#define RETURN 270
137
 
#define BVEC2 271
138
 
#define BVEC3 272
139
 
#define BVEC4 273
140
 
#define IVEC2 274
141
 
#define IVEC3 275
142
 
#define IVEC4 276
143
 
#define VEC2 277
144
 
#define VEC3 278
145
 
#define VEC4 279
146
 
#define MATRIX2 280
147
 
#define MATRIX3 281
148
 
#define MATRIX4 282
149
 
#define IN_QUAL 283
150
 
#define OUT_QUAL 284
151
 
#define INOUT_QUAL 285
152
 
#define UNIFORM 286
153
 
#define VARYING 287
154
 
#define STRUCT 288
155
 
#define VOID_TYPE 289
156
 
#define WHILE 290
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
169
 
#define LEFT_OP 303
170
 
#define RIGHT_OP 304
171
 
#define INC_OP 305
172
 
#define DEC_OP 306
173
 
#define LE_OP 307
174
 
#define GE_OP 308
175
 
#define EQ_OP 309
176
 
#define NE_OP 310
177
 
#define AND_OP 311
178
 
#define OR_OP 312
179
 
#define XOR_OP 313
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
196
 
#define DOT 330
197
 
#define COMMA 331
198
 
#define COLON 332
199
 
#define EQUAL 333
200
 
#define SEMICOLON 334
201
 
#define BANG 335
202
 
#define DASH 336
203
 
#define TILDE 337
204
 
#define PLUS 338
205
 
#define STAR 339
206
 
#define SLASH 340
207
 
#define PERCENT 341
208
 
#define LEFT_ANGLE 342
209
 
#define RIGHT_ANGLE 343
210
 
#define VERTICAL_BAR 344
211
 
#define CARET 345
212
 
#define AMPERSAND 346
213
 
#define QUESTION 347
214
 
 
215
 
 
216
 
 
217
 
 
218
 
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
219
 
#line 117 "glslang.y"
220
 
typedef union YYSTYPE {
221
 
    struct {
222
 
        TSourceLoc line;
223
 
        union {
224
 
            TString *string;
225
 
            float f;
226
 
            int i;
227
 
            bool b;
228
 
        };
229
 
        TSymbol* symbol;
230
 
    } lex;
231
 
    struct {
232
 
        TSourceLoc line;
233
 
        TOperator op;
234
 
        union {
235
 
            TIntermNode* intermNode;
236
 
            TIntermNodePair nodePair;
237
 
            TIntermTyped* intermTypedNode;
238
 
            TIntermAggregate* intermAggregate;
239
 
        };
240
 
        union {
241
 
            TPublicType type;
242
 
            TQualifier qualifier;
243
 
            TFunction* function;
244
 
            TParameter param;
245
 
            TTypeLine typeLine;
246
 
            TTypeList* typeList;
247
 
        };
248
 
    } interm;
249
 
} YYSTYPE;
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
255
 
#endif
256
 
 
257
 
 
258
 
 
259
 
 
260