gfx/angle/src/compiler/glslang_tab.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/angle/src/compiler/glslang_tab.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,222 @@
     1.4 +/* A Bison parser, made by GNU Bison 2.7.  */
     1.5 +
     1.6 +/* Bison interface for Yacc-like parsers in C
     1.7 +   
     1.8 +      Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
     1.9 +   
    1.10 +   This program is free software: you can redistribute it and/or modify
    1.11 +   it under the terms of the GNU General Public License as published by
    1.12 +   the Free Software Foundation, either version 3 of the License, or
    1.13 +   (at your option) any later version.
    1.14 +   
    1.15 +   This program is distributed in the hope that it will be useful,
    1.16 +   but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.17 +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.18 +   GNU General Public License for more details.
    1.19 +   
    1.20 +   You should have received a copy of the GNU General Public License
    1.21 +   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1.22 +
    1.23 +/* As a special exception, you may create a larger work that contains
    1.24 +   part or all of the Bison parser skeleton and distribute that work
    1.25 +   under terms of your choice, so long as that work isn't itself a
    1.26 +   parser generator using the skeleton or a modified version thereof
    1.27 +   as a parser skeleton.  Alternatively, if you modify or redistribute
    1.28 +   the parser skeleton itself, you may (at your option) remove this
    1.29 +   special exception, which will cause the skeleton and the resulting
    1.30 +   Bison output files to be licensed under the GNU General Public
    1.31 +   License without this special exception.
    1.32 +   
    1.33 +   This special exception was added by the Free Software Foundation in
    1.34 +   version 2.2 of Bison.  */
    1.35 +
    1.36 +#ifndef YY_YY_GLSLANG_TAB_H_INCLUDED
    1.37 +# define YY_YY_GLSLANG_TAB_H_INCLUDED
    1.38 +/* Enabling traces.  */
    1.39 +#ifndef YYDEBUG
    1.40 +# define YYDEBUG 0
    1.41 +#endif
    1.42 +#if YYDEBUG
    1.43 +extern int yydebug;
    1.44 +#endif
    1.45 +/* "%code requires" blocks.  */
    1.46 +
    1.47 +
    1.48 +#define YYLTYPE TSourceLoc
    1.49 +#define YYLTYPE_IS_DECLARED 1
    1.50 +
    1.51 +
    1.52 +
    1.53 +
    1.54 +/* Tokens.  */
    1.55 +#ifndef YYTOKENTYPE
    1.56 +# define YYTOKENTYPE
    1.57 +   /* Put the tokens into the symbol table, so that GDB and other debuggers
    1.58 +      know about them.  */
    1.59 +   enum yytokentype {
    1.60 +     INVARIANT = 258,
    1.61 +     HIGH_PRECISION = 259,
    1.62 +     MEDIUM_PRECISION = 260,
    1.63 +     LOW_PRECISION = 261,
    1.64 +     PRECISION = 262,
    1.65 +     ATTRIBUTE = 263,
    1.66 +     CONST_QUAL = 264,
    1.67 +     BOOL_TYPE = 265,
    1.68 +     FLOAT_TYPE = 266,
    1.69 +     INT_TYPE = 267,
    1.70 +     BREAK = 268,
    1.71 +     CONTINUE = 269,
    1.72 +     DO = 270,
    1.73 +     ELSE = 271,
    1.74 +     FOR = 272,
    1.75 +     IF = 273,
    1.76 +     DISCARD = 274,
    1.77 +     RETURN = 275,
    1.78 +     BVEC2 = 276,
    1.79 +     BVEC3 = 277,
    1.80 +     BVEC4 = 278,
    1.81 +     IVEC2 = 279,
    1.82 +     IVEC3 = 280,
    1.83 +     IVEC4 = 281,
    1.84 +     VEC2 = 282,
    1.85 +     VEC3 = 283,
    1.86 +     VEC4 = 284,
    1.87 +     MATRIX2 = 285,
    1.88 +     MATRIX3 = 286,
    1.89 +     MATRIX4 = 287,
    1.90 +     IN_QUAL = 288,
    1.91 +     OUT_QUAL = 289,
    1.92 +     INOUT_QUAL = 290,
    1.93 +     UNIFORM = 291,
    1.94 +     VARYING = 292,
    1.95 +     STRUCT = 293,
    1.96 +     VOID_TYPE = 294,
    1.97 +     WHILE = 295,
    1.98 +     SAMPLER2D = 296,
    1.99 +     SAMPLERCUBE = 297,
   1.100 +     SAMPLER_EXTERNAL_OES = 298,
   1.101 +     SAMPLER2DRECT = 299,
   1.102 +     IDENTIFIER = 300,
   1.103 +     TYPE_NAME = 301,
   1.104 +     FLOATCONSTANT = 302,
   1.105 +     INTCONSTANT = 303,
   1.106 +     BOOLCONSTANT = 304,
   1.107 +     LEFT_OP = 305,
   1.108 +     RIGHT_OP = 306,
   1.109 +     INC_OP = 307,
   1.110 +     DEC_OP = 308,
   1.111 +     LE_OP = 309,
   1.112 +     GE_OP = 310,
   1.113 +     EQ_OP = 311,
   1.114 +     NE_OP = 312,
   1.115 +     AND_OP = 313,
   1.116 +     OR_OP = 314,
   1.117 +     XOR_OP = 315,
   1.118 +     MUL_ASSIGN = 316,
   1.119 +     DIV_ASSIGN = 317,
   1.120 +     ADD_ASSIGN = 318,
   1.121 +     MOD_ASSIGN = 319,
   1.122 +     LEFT_ASSIGN = 320,
   1.123 +     RIGHT_ASSIGN = 321,
   1.124 +     AND_ASSIGN = 322,
   1.125 +     XOR_ASSIGN = 323,
   1.126 +     OR_ASSIGN = 324,
   1.127 +     SUB_ASSIGN = 325,
   1.128 +     LEFT_PAREN = 326,
   1.129 +     RIGHT_PAREN = 327,
   1.130 +     LEFT_BRACKET = 328,
   1.131 +     RIGHT_BRACKET = 329,
   1.132 +     LEFT_BRACE = 330,
   1.133 +     RIGHT_BRACE = 331,
   1.134 +     DOT = 332,
   1.135 +     COMMA = 333,
   1.136 +     COLON = 334,
   1.137 +     EQUAL = 335,
   1.138 +     SEMICOLON = 336,
   1.139 +     BANG = 337,
   1.140 +     DASH = 338,
   1.141 +     TILDE = 339,
   1.142 +     PLUS = 340,
   1.143 +     STAR = 341,
   1.144 +     SLASH = 342,
   1.145 +     PERCENT = 343,
   1.146 +     LEFT_ANGLE = 344,
   1.147 +     RIGHT_ANGLE = 345,
   1.148 +     VERTICAL_BAR = 346,
   1.149 +     CARET = 347,
   1.150 +     AMPERSAND = 348,
   1.151 +     QUESTION = 349
   1.152 +   };
   1.153 +#endif
   1.154 +
   1.155 +
   1.156 +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
   1.157 +typedef union YYSTYPE
   1.158 +{
   1.159 +
   1.160 +
   1.161 +    struct {
   1.162 +        union {
   1.163 +            TString *string;
   1.164 +            float f;
   1.165 +            int i;
   1.166 +            bool b;
   1.167 +        };
   1.168 +        TSymbol* symbol;
   1.169 +    } lex;
   1.170 +    struct {
   1.171 +        TOperator op;
   1.172 +        union {
   1.173 +            TIntermNode* intermNode;
   1.174 +            TIntermNodePair nodePair;
   1.175 +            TIntermTyped* intermTypedNode;
   1.176 +            TIntermAggregate* intermAggregate;
   1.177 +        };
   1.178 +        union {
   1.179 +            TPublicType type;
   1.180 +            TPrecision precision;
   1.181 +            TQualifier qualifier;
   1.182 +            TFunction* function;
   1.183 +            TParameter param;
   1.184 +            TField* field;
   1.185 +            TFieldList* fieldList;
   1.186 +        };
   1.187 +    } interm;
   1.188 +
   1.189 +
   1.190 +
   1.191 +} YYSTYPE;
   1.192 +# define YYSTYPE_IS_TRIVIAL 1
   1.193 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */
   1.194 +# define YYSTYPE_IS_DECLARED 1
   1.195 +#endif
   1.196 +
   1.197 +#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
   1.198 +typedef struct YYLTYPE
   1.199 +{
   1.200 +  int first_line;
   1.201 +  int first_column;
   1.202 +  int last_line;
   1.203 +  int last_column;
   1.204 +} YYLTYPE;
   1.205 +# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
   1.206 +# define YYLTYPE_IS_DECLARED 1
   1.207 +# define YYLTYPE_IS_TRIVIAL 1
   1.208 +#endif
   1.209 +
   1.210 +
   1.211 +#ifdef YYPARSE_PARAM
   1.212 +#if defined __STDC__ || defined __cplusplus
   1.213 +int yyparse (void *YYPARSE_PARAM);
   1.214 +#else
   1.215 +int yyparse ();
   1.216 +#endif
   1.217 +#else /* ! YYPARSE_PARAM */
   1.218 +#if defined __STDC__ || defined __cplusplus
   1.219 +int yyparse (TParseContext* context);
   1.220 +#else
   1.221 +int yyparse ();
   1.222 +#endif
   1.223 +#endif /* ! YYPARSE_PARAM */
   1.224 +
   1.225 +#endif /* !YY_YY_GLSLANG_TAB_H_INCLUDED  */

mercurial