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 | floatValue = 258,
|
---|
33 | gequal = 259,
|
---|
34 | less = 260,
|
---|
35 | texVariable = 261,
|
---|
36 | expandString = 262,
|
---|
37 | openParen = 263,
|
---|
38 | closeParen = 264,
|
---|
39 | semicolon = 265,
|
---|
40 | comma = 266,
|
---|
41 | nop = 267,
|
---|
42 | texture_1d = 268,
|
---|
43 | texture_2d = 269,
|
---|
44 | texture_rectangle = 270,
|
---|
45 | texture_3d = 271,
|
---|
46 | texture_cube_map = 272,
|
---|
47 | cull_fragment = 273,
|
---|
48 | pass_through = 274,
|
---|
49 | offset_2d_scale = 275,
|
---|
50 | offset_2d = 276,
|
---|
51 | offset_rectangle_scale = 277,
|
---|
52 | offset_rectangle = 278,
|
---|
53 | dependent_ar = 279,
|
---|
54 | dependent_gb = 280,
|
---|
55 | dot_product_2d_1of2 = 281,
|
---|
56 | dot_product_2d_2of2 = 282,
|
---|
57 | dot_product_rectangle_1of2 = 283,
|
---|
58 | dot_product_rectangle_2of2 = 284,
|
---|
59 | dot_product_depth_replace_1of2 = 285,
|
---|
60 | dot_product_depth_replace_2of2 = 286,
|
---|
61 | dot_product_3d_1of3 = 287,
|
---|
62 | dot_product_3d_2of3 = 288,
|
---|
63 | dot_product_3d_3of3 = 289,
|
---|
64 | dot_product_cube_map_1of3 = 290,
|
---|
65 | dot_product_cube_map_2of3 = 291,
|
---|
66 | dot_product_cube_map_3of3 = 292,
|
---|
67 | dot_product_reflect_cube_map_eye_from_qs_1of3 = 293,
|
---|
68 | dot_product_reflect_cube_map_eye_from_qs_2of3 = 294,
|
---|
69 | dot_product_reflect_cube_map_eye_from_qs_3of3 = 295,
|
---|
70 | dot_product_reflect_cube_map_const_eye_1of3 = 296,
|
---|
71 | dot_product_reflect_cube_map_const_eye_2of3 = 297,
|
---|
72 | dot_product_reflect_cube_map_const_eye_3of3 = 298,
|
---|
73 | dot_product_cube_map_and_reflect_cube_map_eye_from_qs_1of3 = 299,
|
---|
74 | dot_product_cube_map_and_reflect_cube_map_eye_from_qs_2of3 = 300,
|
---|
75 | dot_product_cube_map_and_reflect_cube_map_eye_from_qs_3of3 = 301,
|
---|
76 | dot_product_cube_map_and_reflect_cube_map_const_eye_1of3 = 302,
|
---|
77 | dot_product_cube_map_and_reflect_cube_map_const_eye_2of3 = 303,
|
---|
78 | dot_product_cube_map_and_reflect_cube_map_const_eye_3of3 = 304
|
---|
79 | };
|
---|
80 | #endif
|
---|
81 | #define floatValue 258
|
---|
82 | #define gequal 259
|
---|
83 | #define less 260
|
---|
84 | #define texVariable 261
|
---|
85 | #define expandString 262
|
---|
86 | #define openParen 263
|
---|
87 | #define closeParen 264
|
---|
88 | #define semicolon 265
|
---|
89 | #define comma 266
|
---|
90 | #define nop 267
|
---|
91 | #define texture_1d 268
|
---|
92 | #define texture_2d 269
|
---|
93 | #define texture_rectangle 270
|
---|
94 | #define texture_3d 271
|
---|
95 | #define texture_cube_map 272
|
---|
96 | #define cull_fragment 273
|
---|
97 | #define pass_through 274
|
---|
98 | #define offset_2d_scale 275
|
---|
99 | #define offset_2d 276
|
---|
100 | #define offset_rectangle_scale 277
|
---|
101 | #define offset_rectangle 278
|
---|
102 | #define dependent_ar 279
|
---|
103 | #define dependent_gb 280
|
---|
104 | #define dot_product_2d_1of2 281
|
---|
105 | #define dot_product_2d_2of2 282
|
---|
106 | #define dot_product_rectangle_1of2 283
|
---|
107 | #define dot_product_rectangle_2of2 284
|
---|
108 | #define dot_product_depth_replace_1of2 285
|
---|
109 | #define dot_product_depth_replace_2of2 286
|
---|
110 | #define dot_product_3d_1of3 287
|
---|
111 | #define dot_product_3d_2of3 288
|
---|
112 | #define dot_product_3d_3of3 289
|
---|
113 | #define dot_product_cube_map_1of3 290
|
---|
114 | #define dot_product_cube_map_2of3 291
|
---|
115 | #define dot_product_cube_map_3of3 292
|
---|
116 | #define dot_product_reflect_cube_map_eye_from_qs_1of3 293
|
---|
117 | #define dot_product_reflect_cube_map_eye_from_qs_2of3 294
|
---|
118 | #define dot_product_reflect_cube_map_eye_from_qs_3of3 295
|
---|
119 | #define dot_product_reflect_cube_map_const_eye_1of3 296
|
---|
120 | #define dot_product_reflect_cube_map_const_eye_2of3 297
|
---|
121 | #define dot_product_reflect_cube_map_const_eye_3of3 298
|
---|
122 | #define dot_product_cube_map_and_reflect_cube_map_eye_from_qs_1of3 299
|
---|
123 | #define dot_product_cube_map_and_reflect_cube_map_eye_from_qs_2of3 300
|
---|
124 | #define dot_product_cube_map_and_reflect_cube_map_eye_from_qs_3of3 301
|
---|
125 | #define dot_product_cube_map_and_reflect_cube_map_const_eye_1of3 302
|
---|
126 | #define dot_product_cube_map_and_reflect_cube_map_const_eye_2of3 303
|
---|
127 | #define dot_product_cube_map_and_reflect_cube_map_const_eye_3of3 304
|
---|
128 |
|
---|
129 |
|
---|
130 |
|
---|
131 |
|
---|
132 | #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
|
---|
133 | #line 18 "ts1.0_grammar.y"
|
---|
134 | typedef union YYSTYPE {
|
---|
135 | float fval;
|
---|
136 | InstPtr inst;
|
---|
137 | InstListPtr instList;
|
---|
138 | MappedVariablePtr variable;
|
---|
139 | } YYSTYPE;
|
---|
140 | /* Line 1240 of yacc.c. */
|
---|
141 | #line 141 "_ts1.0_parser.h"
|
---|
142 | # define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
---|
143 | # define YYSTYPE_IS_DECLARED 1
|
---|
144 | # define YYSTYPE_IS_TRIVIAL 1
|
---|
145 | #endif
|
---|
146 |
|
---|
147 | extern YYSTYPE ts10_lval;
|
---|
148 |
|
---|
149 |
|
---|
150 |
|
---|