summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/glcpp-parse.h
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2010-07-28 12:33:56 -0700
committerCarl Worth <[email protected]>2010-07-28 13:48:32 -0700
commit667173e36293d781e145f40e0d6919cb847af318 (patch)
tree466f39bd36925b2f6f8a9e7b30527642c0daf3ee /src/glsl/glcpp/glcpp-parse.h
parentf8a04b38775cc9f40619e3fb3be39d585e0d4920 (diff)
glcpp: Add generated source files.
This is now consistent with other usage of flex/bison througout mesa, (which is that these generated files are added to source control so that the build system does not require external tools like flex/bison for non-developers).
Diffstat (limited to 'src/glsl/glcpp/glcpp-parse.h')
-rw-r--r--src/glsl/glcpp/glcpp-parse.h100
1 files changed, 100 insertions, 0 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.h b/src/glsl/glcpp/glcpp-parse.h
new file mode 100644
index 00000000000..6365068ad0c
--- /dev/null
+++ b/src/glsl/glcpp/glcpp-parse.h
@@ -0,0 +1,100 @@
+
+/* A Bison parser, made by GNU Bison 2.4.1. */
+
+/* Skeleton interface for Bison's Yacc-like parsers in C
+
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+ Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+/* As a special exception, you may create a larger work that contains
+ part or all of the Bison parser skeleton and distribute that work
+ under terms of your choice, so long as that work isn't itself a
+ parser generator using the skeleton or a modified version thereof
+ as a parser skeleton. Alternatively, if you modify or redistribute
+ the parser skeleton itself, you may (at your option) remove this
+ special exception, which will cause the skeleton and the resulting
+ Bison output files to be licensed under the GNU General Public
+ License without this special exception.
+
+ This special exception was added by the Free Software Foundation in
+ version 2.2 of Bison. */
+
+
+/* Tokens. */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
+ know about them. */
+ enum yytokentype {
+ COMMA_FINAL = 258,
+ DEFINED = 259,
+ ELIF_EXPANDED = 260,
+ HASH = 261,
+ HASH_DEFINE_FUNC = 262,
+ HASH_DEFINE_OBJ = 263,
+ HASH_ELIF = 264,
+ HASH_ELSE = 265,
+ HASH_ENDIF = 266,
+ HASH_IF = 267,
+ HASH_IFDEF = 268,
+ HASH_IFNDEF = 269,
+ HASH_UNDEF = 270,
+ IDENTIFIER = 271,
+ IF_EXPANDED = 272,
+ INTEGER = 273,
+ INTEGER_STRING = 274,
+ NEWLINE = 275,
+ OTHER = 276,
+ PLACEHOLDER = 277,
+ SPACE = 278,
+ PASTE = 279,
+ OR = 280,
+ AND = 281,
+ NOT_EQUAL = 282,
+ EQUAL = 283,
+ GREATER_OR_EQUAL = 284,
+ LESS_OR_EQUAL = 285,
+ RIGHT_SHIFT = 286,
+ LEFT_SHIFT = 287,
+ UNARY = 288
+ };
+#endif
+
+
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+#endif
+
+
+
+#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
+typedef struct YYLTYPE
+{
+ int first_line;
+ int first_column;
+ int last_line;
+ int last_column;
+} YYLTYPE;
+# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
+# define YYLTYPE_IS_DECLARED 1
+# define YYLTYPE_IS_TRIVIAL 1
+#endif
+
+
+