Commit a216d63b authored by L. E. Segovia's avatar L. E. Segovia

Cleanse and update pre-generated files

The files were regenerated using Bison 3.5.4 and Flex 2.6.4 under Manjaro.

I've patched the file paths to preserve Disney's originals, and also cleaned
files that are not used in this repository. (Perhaps they were v2, or
Disney internal?)
parent ad9ee347
/* A Bison parser, made by GNU Bison 2.7. */
/* A Bison parser, made by GNU Bison 3.5.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 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/>. */
......@@ -26,13 +27,16 @@
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. */
/* Undocumented macros, especially those whose name start with ExprSpecYY_,
are private implementation details. Do not rely on them. */
#ifndef ExprSpecYY_EXPRSPEC_Y_TAB_H_INCLUDED
# define ExprSpecYY_EXPRSPEC_Y_TAB_H_INCLUDED
/* Enabling traces. */
/* Debug traces. */
#ifndef ExprSpecYYDEBUG
# define ExprSpecYYDEBUG 0
#endif
......@@ -40,104 +44,69 @@
extern int ExprSpecdebug;
#endif
/* Tokens. */
/* Token type. */
#ifndef ExprSpecYYTOKENTYPE
# define ExprSpecYYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum ExprSpectokentype {
IF = 258,
ELSE = 259,
NAME = 260,
VAR = 261,
STR = 262,
NUMBER = 263,
AddEq = 264,
SubEq = 265,
MultEq = 266,
DivEq = 267,
ExpEq = 268,
ModEq = 269,
ARROW = 270,
OR = 271,
AND = 272,
NE = 273,
EQ = 274,
GE = 275,
LE = 276,
UNARY = 277
};
enum ExprSpectokentype
{
IF = 258,
ELSE = 259,
NAME = 260,
VAR = 261,
STR = 262,
NUMBER = 263,
AddEq = 264,
SubEq = 265,
MultEq = 266,
DivEq = 267,
ExpEq = 268,
ModEq = 269,
ARROW = 270,
OR = 271,
AND = 272,
EQ = 273,
NE = 274,
LE = 275,
GE = 276,
UNARY = 277
};
#endif
/* Tokens. */
#define IF 258
#define ELSE 259
#define NAME 260
#define VAR 261
#define STR 262
#define NUMBER 263
#define AddEq 264
#define SubEq 265
#define MultEq 266
#define DivEq 267
#define ExpEq 268
#define ModEq 269
#define ARROW 270
#define OR 271
#define AND 272
#define NE 273
#define EQ 274
#define GE 275
#define LE 276
#define UNARY 277
/* Value type. */
#if ! defined ExprSpecYYSTYPE && ! defined ExprSpecYYSTYPE_IS_DECLARED
typedef union ExprSpecYYSTYPE
union ExprSpecYYSTYPE
{
/* Line 2058 of yacc.c */
#line 271 "/disney/users/jberlin/projects/seexpr2/src/ui/ExprSpecParser.y"
#line 271 "/disney/users/jberlin/projects/seexpr2/src/SeExpr2/UI/ExprSpecParser.y"
ExprSpecNode* n;
double d; // return value for number tokens
char* s; /* return value for name tokens. Note: UNLIKE the regular parser, this is not strdup()'dthe string */
#line 86 "y.tab.h"
/* Line 2058 of yacc.c */
#line 108 "y.tab.h"
} ExprSpecYYSTYPE;
};
typedef union ExprSpecYYSTYPE ExprSpecYYSTYPE;
# define ExprSpecYYSTYPE_IS_TRIVIAL 1
# define ExprSpecstype ExprSpecYYSTYPE /* obsolescent; will be withdrawn */
# define ExprSpecYYSTYPE_IS_DECLARED 1
#endif
/* Location type. */
#if ! defined ExprSpecYYLTYPE && ! defined ExprSpecYYLTYPE_IS_DECLARED
typedef struct ExprSpecYYLTYPE
typedef struct ExprSpecYYLTYPE ExprSpecYYLTYPE;
struct ExprSpecYYLTYPE
{
int first_line;
int first_column;
int last_line;
int last_column;
} ExprSpecYYLTYPE;
# define ExprSpecltype ExprSpecYYLTYPE /* obsolescent; will be withdrawn */
};
# define ExprSpecYYLTYPE_IS_DECLARED 1
# define ExprSpecYYLTYPE_IS_TRIVIAL 1
#endif
extern ExprSpecYYSTYPE ExprSpeclval;
extern ExprSpecYYLTYPE ExprSpeclloc;
#ifdef ExprSpecYYPARSE_PARAM
#if defined __STDC__ || defined __cplusplus
int ExprSpecparse (void *ExprSpecYYPARSE_PARAM);
#else
int ExprSpecparse ();
#endif
#else /* ! ExprSpecYYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int ExprSpecparse (void);
#else
int ExprSpecparse ();
#endif
#endif /* ! ExprSpecYYPARSE_PARAM */
#endif /* !ExprSpecYY_EXPRSPEC_Y_TAB_H_INCLUDED */
This diff is collapsed.
/* A Bison parser, made by GNU Bison 2.7. */
/* A Bison parser, made by GNU Bison 3.5.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 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/>. */
......@@ -26,13 +27,16 @@
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. */
/* Undocumented macros, especially those whose name start with SeExprYY_,
are private implementation details. Do not rely on them. */
#ifndef SeExprYY_SEEXPR2_Y_TAB_H_INCLUDED
# define SeExprYY_SEEXPR2_Y_TAB_H_INCLUDED
/* Enabling traces. */
/* Debug traces. */
#ifndef SeExprYYDEBUG
# define SeExprYYDEBUG 0
#endif
......@@ -40,79 +44,47 @@
extern int SeExpr2debug;
#endif
/* Tokens. */
/* Token type. */
#ifndef SeExprYYTOKENTYPE
# define SeExprYYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum SeExpr2tokentype {
IF = 258,
ELSE = 259,
EXTERN = 260,
DEF = 261,
FLOATPOINT = 262,
STRING = 263,
NAME = 264,
VAR = 265,
STR = 266,
NUMBER = 267,
LIFETIME_CONSTANT = 268,
LIFETIME_UNIFORM = 269,
LIFETIME_VARYING = 270,
LIFETIME_ERROR = 271,
AddEq = 272,
SubEq = 273,
MultEq = 274,
DivEq = 275,
ExpEq = 276,
ModEq = 277,
ARROW = 278,
OR = 279,
AND = 280,
NE = 281,
EQ = 282,
SEEXPR_GE = 283,
SEEXPR_LE = 284,
UNARY = 285
};
enum SeExpr2tokentype
{
IF = 258,
ELSE = 259,
EXTERN = 260,
DEF = 261,
FLOATPOINT = 262,
STRING = 263,
NAME = 264,
VAR = 265,
STR = 266,
NUMBER = 267,
LIFETIME_CONSTANT = 268,
LIFETIME_UNIFORM = 269,
LIFETIME_VARYING = 270,
LIFETIME_ERROR = 271,
AddEq = 272,
SubEq = 273,
MultEq = 274,
DivEq = 275,
ExpEq = 276,
ModEq = 277,
ARROW = 278,
OR = 279,
AND = 280,
EQ = 281,
NE = 282,
SEEXPR_LE = 283,
SEEXPR_GE = 284,
UNARY = 285
};
#endif
/* Tokens. */
#define IF 258
#define ELSE 259
#define EXTERN 260
#define DEF 261
#define FLOATPOINT 262
#define STRING 263
#define NAME 264
#define VAR 265
#define STR 266
#define NUMBER 267
#define LIFETIME_CONSTANT 268
#define LIFETIME_UNIFORM 269
#define LIFETIME_VARYING 270
#define LIFETIME_ERROR 271
#define AddEq 272
#define SubEq 273
#define MultEq 274
#define DivEq 275
#define ExpEq 276
#define ModEq 277
#define ARROW 278
#define OR 279
#define AND 280
#define NE 281
#define EQ 282
#define SEEXPR_GE 283
#define SEEXPR_LE 284
#define UNARY 285
/* Value type. */
#if ! defined SeExprYYSTYPE && ! defined SeExprYYSTYPE_IS_DECLARED
typedef union SeExprYYSTYPE
union SeExprYYSTYPE
{
/* Line 2058 of yacc.c */
#line 77 "/disney/users/jberlin/projects/seexpr2/src/SeExpr/ExprParser.y"
#line 77 "/disney/users/jberlin/projects/seexpr2/src/SeExpr2/ExprParser.y"
SeExpr2::ExprNode* n; /* a node is returned for all non-terminals to
build the parse tree from the leaves up. */
......@@ -127,42 +99,31 @@ typedef union SeExprYYSTYPE
} t; // return value for types
SeExpr2::ExprType::Lifetime l; // return value for lifetime qualifiers
#line 103 "y.tab.h"
/* Line 2058 of yacc.c */
#line 133 "y.tab.h"
} SeExprYYSTYPE;
};
typedef union SeExprYYSTYPE SeExprYYSTYPE;
# define SeExprYYSTYPE_IS_TRIVIAL 1
# define SeExpr2stype SeExprYYSTYPE /* obsolescent; will be withdrawn */
# define SeExprYYSTYPE_IS_DECLARED 1
#endif
/* Location type. */
#if ! defined SeExprYYLTYPE && ! defined SeExprYYLTYPE_IS_DECLARED
typedef struct SeExprYYLTYPE
typedef struct SeExprYYLTYPE SeExprYYLTYPE;
struct SeExprYYLTYPE
{
int first_line;
int first_column;
int last_line;
int last_column;
} SeExprYYLTYPE;
# define SeExpr2ltype SeExprYYLTYPE /* obsolescent; will be withdrawn */
};
# define SeExprYYLTYPE_IS_DECLARED 1
# define SeExprYYLTYPE_IS_TRIVIAL 1
#endif
extern SeExprYYSTYPE SeExpr2lval;
extern SeExprYYLTYPE SeExpr2lloc;
#ifdef SeExprYYPARSE_PARAM
#if defined __STDC__ || defined __cplusplus
int SeExpr2parse (void *SeExprYYPARSE_PARAM);
#else
int SeExpr2parse ();
#endif
#else /* ! SeExprYYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int SeExpr2parse (void);
#else
int SeExpr2parse ();
#endif
#endif /* ! SeExprYYPARSE_PARAM */
#endif /* !SeExprYY_SEEXPR2_Y_TAB_H_INCLUDED */
This diff is collapsed.
This diff is collapsed.
/* 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 SeExprYYTOKENTYPE
# define SeExprYYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum SeExprtokentype {
IF = 258,
ELSE = 259,
NAME = 260,
VAR = 261,
STR = 262,
NUMBER = 263,
AddEq = 264,
SubEq = 265,
MultEq = 266,
DivEq = 267,
ExpEq = 268,
ModEq = 269,
ARROW = 270,
OR = 271,
AND = 272,
NE = 273,
EQ = 274,
GE = 275,
LE = 276,
UNARY = 277
};
#endif
/* Tokens. */
#define IF 258
#define ELSE 259
#define NAME 260
#define VAR 261
#define STR 262
#define NUMBER 263
#define AddEq 264
#define SubEq 265
#define MultEq 266
#define DivEq 267
#define ExpEq 268
#define ModEq 269
#define ARROW 270
#define OR 271
#define AND 272
#define NE 273
#define EQ 274
#define GE 275
#define LE 276
#define UNARY 277
#if ! defined SeExprYYSTYPE && ! defined SeExprYYSTYPE_IS_DECLARED
typedef union SeExprYYSTYPE
{
/* Line 1676 of yacc.c */
#line 74 "/home/fahome/jberlin/projects/SeExpr.linux/src/SeExpr/SeExprParser.y"
SeExprNode* n; /* a node is returned for all non-terminals to
build the parse tree from the leaves up. */
double d; // return value for number tokens
char* s; /* return value for name tokens. Note: the string
is allocated with strdup() in the lexer and must
be freed with free() */
/* Line 1676 of yacc.c */
#line 107 "y.tab.h"
} SeExprYYSTYPE;
# define SeExprYYSTYPE_IS_TRIVIAL 1
# define SeExprstype SeExprYYSTYPE /* obsolescent; will be withdrawn */
# define SeExprYYSTYPE_IS_DECLARED 1
#endif
extern SeExprYYSTYPE SeExprlval;
#if ! defined SeExprYYLTYPE && ! defined SeExprYYLTYPE_IS_DECLARED
typedef struct SeExprYYLTYPE
{
int first_line;
int first_column;
int last_line;
int last_column;
} SeExprYYLTYPE;
# define SeExprltype SeExprYYLTYPE /* obsolescent; will be withdrawn */
# define SeExprYYLTYPE_IS_DECLARED 1
# define SeExprYYLTYPE_IS_TRIVIAL 1
#endif
extern SeExprYYLTYPE SeExprlloc;
This diff is collapsed.
This diff is collapsed.
/* 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 SeExprSpecYYTOKENTYPE
# define SeExprSpecYYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum SeExprSpectokentype {
IF = 258,
ELSE = 259,
NAME = 260,
VAR = 261,
STR = 262,
NUMBER = 263,
AddEq = 264,
SubEq = 265,
MultEq = 266,
DivEq = 267,
ExpEq = 268,
ModEq = 269,
ARROW = 270,
OR = 271,
AND = 272,
NE = 273,
EQ = 274,
GE = 275,
LE = 276,
UNARY = 277
};
#endif
/* Tokens. */
#define IF 258
#define ELSE 259
#define NAME 260
#define VAR 261
#define STR 262
#define NUMBER 263
#define AddEq 264
#define SubEq 265
#define MultEq 266
#define DivEq 267
#define ExpEq 268
#define ModEq 269
#define ARROW 270
#define OR 271
#define AND 272
#define NE 273