gfx/angle/src/compiler/glslang_tab.h

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 /* A Bison parser, made by GNU Bison 2.7. */
michael@0 2
michael@0 3 /* Bison interface for Yacc-like parsers in C
michael@0 4
michael@0 5 Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
michael@0 6
michael@0 7 This program is free software: you can redistribute it and/or modify
michael@0 8 it under the terms of the GNU General Public License as published by
michael@0 9 the Free Software Foundation, either version 3 of the License, or
michael@0 10 (at your option) any later version.
michael@0 11
michael@0 12 This program is distributed in the hope that it will be useful,
michael@0 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
michael@0 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
michael@0 15 GNU General Public License for more details.
michael@0 16
michael@0 17 You should have received a copy of the GNU General Public License
michael@0 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
michael@0 19
michael@0 20 /* As a special exception, you may create a larger work that contains
michael@0 21 part or all of the Bison parser skeleton and distribute that work
michael@0 22 under terms of your choice, so long as that work isn't itself a
michael@0 23 parser generator using the skeleton or a modified version thereof
michael@0 24 as a parser skeleton. Alternatively, if you modify or redistribute
michael@0 25 the parser skeleton itself, you may (at your option) remove this
michael@0 26 special exception, which will cause the skeleton and the resulting
michael@0 27 Bison output files to be licensed under the GNU General Public
michael@0 28 License without this special exception.
michael@0 29
michael@0 30 This special exception was added by the Free Software Foundation in
michael@0 31 version 2.2 of Bison. */
michael@0 32
michael@0 33 #ifndef YY_YY_GLSLANG_TAB_H_INCLUDED
michael@0 34 # define YY_YY_GLSLANG_TAB_H_INCLUDED
michael@0 35 /* Enabling traces. */
michael@0 36 #ifndef YYDEBUG
michael@0 37 # define YYDEBUG 0
michael@0 38 #endif
michael@0 39 #if YYDEBUG
michael@0 40 extern int yydebug;
michael@0 41 #endif
michael@0 42 /* "%code requires" blocks. */
michael@0 43
michael@0 44
michael@0 45 #define YYLTYPE TSourceLoc
michael@0 46 #define YYLTYPE_IS_DECLARED 1
michael@0 47
michael@0 48
michael@0 49
michael@0 50
michael@0 51 /* Tokens. */
michael@0 52 #ifndef YYTOKENTYPE
michael@0 53 # define YYTOKENTYPE
michael@0 54 /* Put the tokens into the symbol table, so that GDB and other debuggers
michael@0 55 know about them. */
michael@0 56 enum yytokentype {
michael@0 57 INVARIANT = 258,
michael@0 58 HIGH_PRECISION = 259,
michael@0 59 MEDIUM_PRECISION = 260,
michael@0 60 LOW_PRECISION = 261,
michael@0 61 PRECISION = 262,
michael@0 62 ATTRIBUTE = 263,
michael@0 63 CONST_QUAL = 264,
michael@0 64 BOOL_TYPE = 265,
michael@0 65 FLOAT_TYPE = 266,
michael@0 66 INT_TYPE = 267,
michael@0 67 BREAK = 268,
michael@0 68 CONTINUE = 269,
michael@0 69 DO = 270,
michael@0 70 ELSE = 271,
michael@0 71 FOR = 272,
michael@0 72 IF = 273,
michael@0 73 DISCARD = 274,
michael@0 74 RETURN = 275,
michael@0 75 BVEC2 = 276,
michael@0 76 BVEC3 = 277,
michael@0 77 BVEC4 = 278,
michael@0 78 IVEC2 = 279,
michael@0 79 IVEC3 = 280,
michael@0 80 IVEC4 = 281,
michael@0 81 VEC2 = 282,
michael@0 82 VEC3 = 283,
michael@0 83 VEC4 = 284,
michael@0 84 MATRIX2 = 285,
michael@0 85 MATRIX3 = 286,
michael@0 86 MATRIX4 = 287,
michael@0 87 IN_QUAL = 288,
michael@0 88 OUT_QUAL = 289,
michael@0 89 INOUT_QUAL = 290,
michael@0 90 UNIFORM = 291,
michael@0 91 VARYING = 292,
michael@0 92 STRUCT = 293,
michael@0 93 VOID_TYPE = 294,
michael@0 94 WHILE = 295,
michael@0 95 SAMPLER2D = 296,
michael@0 96 SAMPLERCUBE = 297,
michael@0 97 SAMPLER_EXTERNAL_OES = 298,
michael@0 98 SAMPLER2DRECT = 299,
michael@0 99 IDENTIFIER = 300,
michael@0 100 TYPE_NAME = 301,
michael@0 101 FLOATCONSTANT = 302,
michael@0 102 INTCONSTANT = 303,
michael@0 103 BOOLCONSTANT = 304,
michael@0 104 LEFT_OP = 305,
michael@0 105 RIGHT_OP = 306,
michael@0 106 INC_OP = 307,
michael@0 107 DEC_OP = 308,
michael@0 108 LE_OP = 309,
michael@0 109 GE_OP = 310,
michael@0 110 EQ_OP = 311,
michael@0 111 NE_OP = 312,
michael@0 112 AND_OP = 313,
michael@0 113 OR_OP = 314,
michael@0 114 XOR_OP = 315,
michael@0 115 MUL_ASSIGN = 316,
michael@0 116 DIV_ASSIGN = 317,
michael@0 117 ADD_ASSIGN = 318,
michael@0 118 MOD_ASSIGN = 319,
michael@0 119 LEFT_ASSIGN = 320,
michael@0 120 RIGHT_ASSIGN = 321,
michael@0 121 AND_ASSIGN = 322,
michael@0 122 XOR_ASSIGN = 323,
michael@0 123 OR_ASSIGN = 324,
michael@0 124 SUB_ASSIGN = 325,
michael@0 125 LEFT_PAREN = 326,
michael@0 126 RIGHT_PAREN = 327,
michael@0 127 LEFT_BRACKET = 328,
michael@0 128 RIGHT_BRACKET = 329,
michael@0 129 LEFT_BRACE = 330,
michael@0 130 RIGHT_BRACE = 331,
michael@0 131 DOT = 332,
michael@0 132 COMMA = 333,
michael@0 133 COLON = 334,
michael@0 134 EQUAL = 335,
michael@0 135 SEMICOLON = 336,
michael@0 136 BANG = 337,
michael@0 137 DASH = 338,
michael@0 138 TILDE = 339,
michael@0 139 PLUS = 340,
michael@0 140 STAR = 341,
michael@0 141 SLASH = 342,
michael@0 142 PERCENT = 343,
michael@0 143 LEFT_ANGLE = 344,
michael@0 144 RIGHT_ANGLE = 345,
michael@0 145 VERTICAL_BAR = 346,
michael@0 146 CARET = 347,
michael@0 147 AMPERSAND = 348,
michael@0 148 QUESTION = 349
michael@0 149 };
michael@0 150 #endif
michael@0 151
michael@0 152
michael@0 153 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
michael@0 154 typedef union YYSTYPE
michael@0 155 {
michael@0 156
michael@0 157
michael@0 158 struct {
michael@0 159 union {
michael@0 160 TString *string;
michael@0 161 float f;
michael@0 162 int i;
michael@0 163 bool b;
michael@0 164 };
michael@0 165 TSymbol* symbol;
michael@0 166 } lex;
michael@0 167 struct {
michael@0 168 TOperator op;
michael@0 169 union {
michael@0 170 TIntermNode* intermNode;
michael@0 171 TIntermNodePair nodePair;
michael@0 172 TIntermTyped* intermTypedNode;
michael@0 173 TIntermAggregate* intermAggregate;
michael@0 174 };
michael@0 175 union {
michael@0 176 TPublicType type;
michael@0 177 TPrecision precision;
michael@0 178 TQualifier qualifier;
michael@0 179 TFunction* function;
michael@0 180 TParameter param;
michael@0 181 TField* field;
michael@0 182 TFieldList* fieldList;
michael@0 183 };
michael@0 184 } interm;
michael@0 185
michael@0 186
michael@0 187
michael@0 188 } YYSTYPE;
michael@0 189 # define YYSTYPE_IS_TRIVIAL 1
michael@0 190 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
michael@0 191 # define YYSTYPE_IS_DECLARED 1
michael@0 192 #endif
michael@0 193
michael@0 194 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
michael@0 195 typedef struct YYLTYPE
michael@0 196 {
michael@0 197 int first_line;
michael@0 198 int first_column;
michael@0 199 int last_line;
michael@0 200 int last_column;
michael@0 201 } YYLTYPE;
michael@0 202 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
michael@0 203 # define YYLTYPE_IS_DECLARED 1
michael@0 204 # define YYLTYPE_IS_TRIVIAL 1
michael@0 205 #endif
michael@0 206
michael@0 207
michael@0 208 #ifdef YYPARSE_PARAM
michael@0 209 #if defined __STDC__ || defined __cplusplus
michael@0 210 int yyparse (void *YYPARSE_PARAM);
michael@0 211 #else
michael@0 212 int yyparse ();
michael@0 213 #endif
michael@0 214 #else /* ! YYPARSE_PARAM */
michael@0 215 #if defined __STDC__ || defined __cplusplus
michael@0 216 int yyparse (TParseContext* context);
michael@0 217 #else
michael@0 218 int yyparse ();
michael@0 219 #endif
michael@0 220 #endif /* ! YYPARSE_PARAM */
michael@0 221
michael@0 222 #endif /* !YY_YY_GLSLANG_TAB_H_INCLUDED */

mercurial