mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
Adding regenerated parsers so they'll stop spamming my diffs.
This commit is contained in:
parent
888b35dbca
commit
4f061d916c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,118 @@
|
|||
#ifndef YYSTYPE
|
||||
#define YYSTYPE int
|
||||
/* A Bison parser, made by GNU Bison 2.3. */
|
||||
|
||||
/* 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 2, 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, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA. */
|
||||
|
||||
/* 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 {
|
||||
c_char = 258,
|
||||
c_int = 259,
|
||||
c_float = 260,
|
||||
c_bool = 261,
|
||||
c_string = 262,
|
||||
identifier = 263,
|
||||
cppblock = 264,
|
||||
k_while = 265,
|
||||
k_for = 266,
|
||||
k_if = 267,
|
||||
k_else = 268,
|
||||
k_enum = 269,
|
||||
k_switch = 270,
|
||||
k_case = 271,
|
||||
k_class = 272,
|
||||
k_do = 273,
|
||||
k_void = 274,
|
||||
k_const = 275,
|
||||
k_inline = 276,
|
||||
k_static = 277,
|
||||
k_virtual = 278,
|
||||
k_return = 279,
|
||||
k_autowait = 280,
|
||||
k_autocall = 281,
|
||||
k_waitevent = 282,
|
||||
k_event = 283,
|
||||
k_name = 284,
|
||||
k_thumbnail = 285,
|
||||
k_features = 286,
|
||||
k_uses = 287,
|
||||
k_export = 288,
|
||||
k_texture = 289,
|
||||
k_sound = 290,
|
||||
k_model = 291,
|
||||
k_properties = 292,
|
||||
k_components = 293,
|
||||
k_functions = 294,
|
||||
k_procedures = 295,
|
||||
k_wait = 296,
|
||||
k_on = 297,
|
||||
k_otherwise = 298,
|
||||
k_call = 299,
|
||||
k_jump = 300,
|
||||
k_stop = 301,
|
||||
k_resume = 302,
|
||||
k_pass = 303,
|
||||
k_CTString = 304,
|
||||
k_CTStringTrans = 305,
|
||||
k_CTFileName = 306,
|
||||
k_CTFileNameNoDep = 307,
|
||||
k_BOOL = 308,
|
||||
k_COLOR = 309,
|
||||
k_FLOAT = 310,
|
||||
k_INDEX = 311,
|
||||
k_RANGE = 312,
|
||||
k_CEntityPointer = 313,
|
||||
k_CModelObject = 314,
|
||||
k_CModelInstance = 315,
|
||||
k_CAnimObject = 316,
|
||||
k_CSoundObject = 317,
|
||||
k_CPlacement3D = 318,
|
||||
k_FLOATaabbox3D = 319,
|
||||
k_FLOATmatrix3D = 320,
|
||||
k_FLOATquat3D = 321,
|
||||
k_ANGLE = 322,
|
||||
k_FLOAT3D = 323,
|
||||
k_ANGLE3D = 324,
|
||||
k_FLOATplane3D = 325,
|
||||
k_ANIMATION = 326,
|
||||
k_ILLUMINATIONTYPE = 327,
|
||||
k_FLAGS = 328
|
||||
};
|
||||
#endif
|
||||
/* Tokens. */
|
||||
#define c_char 258
|
||||
#define c_int 259
|
||||
#define c_float 260
|
||||
|
@ -74,4 +186,14 @@
|
|||
#define k_FLAGS 328
|
||||
|
||||
|
||||
|
||||
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef int YYSTYPE;
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
# define YYSTYPE_IS_DECLARED 1
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
#endif
|
||||
|
||||
extern YYSTYPE yylval;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,13 +1,78 @@
|
|||
typedef union {
|
||||
value val; // for constants and expressions
|
||||
arguments arg; // for function input arguments
|
||||
ULONG ulFlags; // for declaration qualifiers
|
||||
INDEX istType; // for types
|
||||
CShellSymbol *pssSymbol; // for symbols
|
||||
struct LValue lvLValue;
|
||||
INDEX (*pPreFunc)(INDEX); // pre-set function for a variable
|
||||
void (*pPostFunc)(INDEX); // post-set function for a variable
|
||||
} YYSTYPE;
|
||||
/* A Bison parser, made by GNU Bison 2.3. */
|
||||
|
||||
/* 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 2, 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, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA. */
|
||||
|
||||
/* 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 {
|
||||
c_float = 258,
|
||||
c_int = 259,
|
||||
c_string = 260,
|
||||
c_char = 261,
|
||||
identifier = 262,
|
||||
k_INDEX = 263,
|
||||
k_FLOAT = 264,
|
||||
k_CTString = 265,
|
||||
k_void = 266,
|
||||
k_const = 267,
|
||||
k_user = 268,
|
||||
k_persistent = 269,
|
||||
k_extern = 270,
|
||||
k_pre = 271,
|
||||
k_post = 272,
|
||||
k_help = 273,
|
||||
k_if = 274,
|
||||
k_else = 275,
|
||||
k_else_if = 276,
|
||||
SHL = 277,
|
||||
SHR = 278,
|
||||
EQ = 279,
|
||||
NEQ = 280,
|
||||
GEQ = 281,
|
||||
LEQ = 282,
|
||||
LOGAND = 283,
|
||||
LOGOR = 284,
|
||||
block_beg = 285,
|
||||
block_end = 286,
|
||||
TYPECAST = 287,
|
||||
SIGN = 288
|
||||
};
|
||||
#endif
|
||||
/* Tokens. */
|
||||
#define c_float 258
|
||||
#define c_int 259
|
||||
#define c_string 260
|
||||
|
@ -40,3 +105,29 @@ typedef union {
|
|||
#define TYPECAST 287
|
||||
#define SIGN 288
|
||||
|
||||
|
||||
|
||||
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef union YYSTYPE
|
||||
#line 197 "./Engine/Base/Parser.y"
|
||||
{
|
||||
value val; // for constants and expressions
|
||||
arguments arg; // for function input arguments
|
||||
ULONG ulFlags; // for declaration qualifiers
|
||||
INDEX istType; // for types
|
||||
CShellSymbol *pssSymbol; // for symbols
|
||||
struct LValue lvLValue;
|
||||
INDEX (*pPreFunc)(INDEX); // pre-set function for a variable
|
||||
void (*pPostFunc)(INDEX); // post-set function for a variable
|
||||
}
|
||||
/* Line 1529 of yacc.c. */
|
||||
#line 126 "./Engine/Base/Parser.hpp"
|
||||
YYSTYPE;
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
# define YYSTYPE_IS_DECLARED 1
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,29 +0,0 @@
|
|||
typedef union {
|
||||
int i;
|
||||
float f;
|
||||
const char *str;
|
||||
CModelInstance *pmi;
|
||||
float f6[6];
|
||||
} YYSTYPE;
|
||||
#define c_float 258
|
||||
#define c_int 259
|
||||
#define c_string 260
|
||||
#define c_modelinstance 261
|
||||
#define k_PARENTBONE 262
|
||||
#define k_SE_SMC 263
|
||||
#define k_SE_END 264
|
||||
#define k_NAME 265
|
||||
#define k_TFNM 266
|
||||
#define k_MESH 267
|
||||
#define k_SKELETON 268
|
||||
#define k_ANIMSET 269
|
||||
#define K_ANIMATION 270
|
||||
#define k_TEXTURES 271
|
||||
#define k_OFFSET 272
|
||||
#define k_COLISION 273
|
||||
#define k_ALLFRAMESBBOX 274
|
||||
#define k_ANIMSPEED 275
|
||||
#define k_COLOR 276
|
||||
|
||||
|
||||
extern YYSTYPE syylval;
|
Loading…
Reference in New Issue
Block a user