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).
This commit is contained in:
3
src/glsl/glcpp/.gitignore
vendored
3
src/glsl/glcpp/.gitignore
vendored
@@ -1,7 +1,4 @@
|
|||||||
glcpp
|
glcpp
|
||||||
glcpp-lex.c
|
|
||||||
glcpp-parse.c
|
|
||||||
glcpp-parse.h
|
|
||||||
glcpp-parse.output
|
glcpp-parse.output
|
||||||
*.o
|
*.o
|
||||||
*.lo
|
*.lo
|
||||||
|
2636
src/glsl/glcpp/glcpp-lex.c
Normal file
2636
src/glsl/glcpp/glcpp-lex.c
Normal file
File diff suppressed because it is too large
Load Diff
3957
src/glsl/glcpp/glcpp-parse.c
Normal file
3957
src/glsl/glcpp/glcpp-parse.c
Normal file
File diff suppressed because it is too large
Load Diff
100
src/glsl/glcpp/glcpp-parse.h
Normal file
100
src/glsl/glcpp/glcpp-parse.h
Normal file
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user