egg: update prebuilt parser.cxx and parser.h

This commit is contained in:
rdb 2019-02-12 00:31:13 +01:00
parent 35d28cdd0d
commit 18b7350400
2 changed files with 2058 additions and 2493 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,8 @@
/* A Bison parser, made by GNU Bison 2.4.2. */ /* A Bison parser, made by GNU Bison 3.2.2. */
/* Skeleton interface for Bison's Yacc-like parsers in C /* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software Copyright (C) 1984, 1989-1990, 2000-2015, 2018 Free Software Foundation, Inc.
Foundation, Inc.
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
@ -31,103 +30,114 @@
This special exception was added by the Free Software Foundation in This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */ version 2.2 of Bison. */
/* Undocumented macros, especially those whose name start with YY_,
are private implementation details. Do not rely on them. */
/* Tokens. */ #ifndef YY_EGGYY_BUILT_TMP_PARSER_YXX_H_INCLUDED
# define YY_EGGYY_BUILT_TMP_PARSER_YXX_H_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int eggyydebug;
#endif
/* Token type. */
#ifndef YYTOKENTYPE #ifndef YYTOKENTYPE
# define YYTOKENTYPE # define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers enum yytokentype
know about them. */ {
enum yytokentype { EGG_NUMBER = 258,
EGG_NUMBER = 258, EGG_ULONG = 259,
EGG_ULONG = 259, EGG_STRING = 260,
EGG_STRING = 260, ANIMPRELOAD = 261,
ANIMPRELOAD = 261, BEZIERCURVE = 262,
BEZIERCURVE = 262, BFACE = 263,
BFACE = 263, BILLBOARD = 264,
BILLBOARD = 264, BILLBOARDCENTER = 265,
BILLBOARDCENTER = 265, BINORMAL = 266,
BINORMAL = 266, BUNDLE = 267,
BUNDLE = 267, CLOSED = 268,
CLOSED = 268, COLLIDE = 269,
COLLIDE = 269, COMMENT = 270,
COMMENT = 270, COMPONENT = 271,
COMPONENT = 271, COORDSYSTEM = 272,
COORDSYSTEM = 272, CV = 273,
CV = 273, DART = 274,
DART = 274, DNORMAL = 275,
DNORMAL = 275, DRGBA = 276,
DRGBA = 276, DUV = 277,
DUV = 277, DXYZ = 278,
DXYZ = 278, DCS = 279,
DCS = 279, DISTANCE = 280,
DISTANCE = 280, DTREF = 281,
DTREF = 281, DYNAMICVERTEXPOOL = 282,
DYNAMICVERTEXPOOL = 282, EXTERNAL_FILE = 283,
EXTERNAL_FILE = 283, GROUP = 284,
GROUP = 284, DEFAULTPOSE = 285,
DEFAULTPOSE = 285, JOINT = 286,
JOINT = 286, KNOTS = 287,
KNOTS = 287, INCLUDE = 288,
INCLUDE = 288, INSTANCE = 289,
INSTANCE = 289, LINE = 290,
LINE = 290, LOOP = 291,
LOOP = 291, MATERIAL = 292,
MATERIAL = 292, MATRIX3 = 293,
MATRIX3 = 293, MATRIX4 = 294,
MATRIX4 = 294, MODEL = 295,
MODEL = 295, MREF = 296,
MREF = 296, NORMAL = 297,
NORMAL = 297, NURBSCURVE = 298,
NURBSCURVE = 298, NURBSSURFACE = 299,
NURBSSURFACE = 299, OBJECTTYPE = 300,
OBJECTTYPE = 300, ORDER = 301,
ORDER = 301, OUTTANGENT = 302,
OUTTANGENT = 302, PATCH = 303,
PATCH = 303, POINTLIGHT = 304,
POINTLIGHT = 304, POLYGON = 305,
POLYGON = 305, REF = 306,
REF = 306, RGBA = 307,
RGBA = 307, ROTATE = 308,
ROTATE = 308, ROTX = 309,
ROTX = 309, ROTY = 310,
ROTY = 310, ROTZ = 311,
ROTZ = 311, SANIM = 312,
SANIM = 312, SCALAR = 313,
SCALAR = 313, SCALE = 314,
SCALE = 314, SEQUENCE = 315,
SEQUENCE = 315, SHADING = 316,
SHADING = 316, SWITCH = 317,
SWITCH = 317, SWITCHCONDITION = 318,
SWITCHCONDITION = 318, TABLE = 319,
TABLE = 319, TABLE_V = 320,
TABLE_V = 320, TAG = 321,
TAG = 321, TANGENT = 322,
TANGENT = 322, TEXLIST = 323,
TEXLIST = 323, TEXTURE = 324,
TEXTURE = 324, TLENGTHS = 325,
TLENGTHS = 325, TRANSFORM = 326,
TRANSFORM = 326, TRANSLATE = 327,
TRANSLATE = 327, TREF = 328,
TREF = 328, TRIANGLEFAN = 329,
TRIANGLEFAN = 329, TRIANGLESTRIP = 330,
TRIANGLESTRIP = 330, TRIM = 331,
TRIM = 331, TXT = 332,
TXT = 332, UKNOTS = 333,
UKNOTS = 333, UV = 334,
UV = 334, AUX = 335,
AUX = 335, VKNOTS = 336,
VKNOTS = 336, VERTEX = 337,
VERTEX = 337, VERTEXANIM = 338,
VERTEXANIM = 338, VERTEXPOOL = 339,
VERTEXPOOL = 339, VERTEXREF = 340,
VERTEXREF = 340, XFMANIM = 341,
XFMANIM = 341, XFMSANIM = 342,
XFMSANIM = 342, START_EGG = 343,
START_EGG = 343, START_GROUP_BODY = 344,
START_GROUP_BODY = 344, START_TEXTURE_BODY = 345,
START_TEXTURE_BODY = 345, START_PRIMITIVE_BODY = 346
START_PRIMITIVE_BODY = 346 };
};
#endif #endif
/* Tokens. */ /* Tokens. */
#define EGG_NUMBER 258 #define EGG_NUMBER 258
@ -220,15 +230,11 @@
#define START_TEXTURE_BODY 345 #define START_TEXTURE_BODY 345
#define START_PRIMITIVE_BODY 346 #define START_PRIMITIVE_BODY 346
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE eggyylval; extern YYSTYPE eggyylval;
int eggyyparse (void);
#endif /* !YY_EGGYY_BUILT_TMP_PARSER_YXX_H_INCLUDED */