Imported existing code
This commit is contained in:
164
indra/lscript/lscript_compile/indra_generated.y.hpp
Normal file
164
indra/lscript/lscript_compile/indra_generated.y.hpp
Normal file
@@ -0,0 +1,164 @@
|
||||
|
||||
/* 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 {
|
||||
INTEGER = 258,
|
||||
FLOAT_TYPE = 259,
|
||||
STRING = 260,
|
||||
LLKEY = 261,
|
||||
VECTOR = 262,
|
||||
QUATERNION = 263,
|
||||
LIST = 264,
|
||||
STATE = 265,
|
||||
EVENT = 266,
|
||||
JUMP = 267,
|
||||
RETURN = 268,
|
||||
STATE_ENTRY = 269,
|
||||
STATE_EXIT = 270,
|
||||
TOUCH_START = 271,
|
||||
TOUCH = 272,
|
||||
TOUCH_END = 273,
|
||||
COLLISION_START = 274,
|
||||
COLLISION = 275,
|
||||
COLLISION_END = 276,
|
||||
LAND_COLLISION_START = 277,
|
||||
LAND_COLLISION = 278,
|
||||
LAND_COLLISION_END = 279,
|
||||
TIMER = 280,
|
||||
CHAT = 281,
|
||||
SENSOR = 282,
|
||||
NO_SENSOR = 283,
|
||||
CONTROL = 284,
|
||||
AT_TARGET = 285,
|
||||
NOT_AT_TARGET = 286,
|
||||
AT_ROT_TARGET = 287,
|
||||
NOT_AT_ROT_TARGET = 288,
|
||||
MONEY = 289,
|
||||
EMAIL = 290,
|
||||
RUN_TIME_PERMISSIONS = 291,
|
||||
INVENTORY = 292,
|
||||
ATTACH = 293,
|
||||
DATASERVER = 294,
|
||||
MOVING_START = 295,
|
||||
MOVING_END = 296,
|
||||
REZ = 297,
|
||||
OBJECT_REZ = 298,
|
||||
LINK_MESSAGE = 299,
|
||||
REMOTE_DATA = 300,
|
||||
HTTP_RESPONSE = 301,
|
||||
HTTP_REQUEST = 302,
|
||||
IDENTIFIER = 303,
|
||||
STATE_DEFAULT = 304,
|
||||
INTEGER_CONSTANT = 305,
|
||||
INTEGER_TRUE = 306,
|
||||
INTEGER_FALSE = 307,
|
||||
FP_CONSTANT = 308,
|
||||
STRING_CONSTANT = 309,
|
||||
INC_OP = 310,
|
||||
DEC_OP = 311,
|
||||
ADD_ASSIGN = 312,
|
||||
SUB_ASSIGN = 313,
|
||||
MUL_ASSIGN = 314,
|
||||
DIV_ASSIGN = 315,
|
||||
MOD_ASSIGN = 316,
|
||||
EQ = 317,
|
||||
NEQ = 318,
|
||||
GEQ = 319,
|
||||
LEQ = 320,
|
||||
BOOLEAN_AND = 321,
|
||||
BOOLEAN_OR = 322,
|
||||
SHIFT_LEFT = 323,
|
||||
SHIFT_RIGHT = 324,
|
||||
IF = 325,
|
||||
ELSE = 326,
|
||||
FOR = 327,
|
||||
DO = 328,
|
||||
WHILE = 329,
|
||||
PRINT = 330,
|
||||
PERIOD = 331,
|
||||
ZERO_VECTOR = 332,
|
||||
ZERO_ROTATION = 333,
|
||||
TOUCH_INVALID_VECTOR = 334,
|
||||
TOUCH_INVALID_TEXCOORD = 335,
|
||||
LOWER_THAN_ELSE = 336,
|
||||
INITIALIZER = 337
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef union YYSTYPE
|
||||
{
|
||||
|
||||
/* Line 1676 of yacc.c */
|
||||
#line 38 "indra.y"
|
||||
|
||||
S32 ival;
|
||||
F32 fval;
|
||||
char *sval;
|
||||
class LLScriptType *type;
|
||||
class LLScriptConstant *constant;
|
||||
class LLScriptIdentifier *identifier;
|
||||
class LLScriptSimpleAssignable *assignable;
|
||||
class LLScriptGlobalVariable *global;
|
||||
class LLScriptEvent *event;
|
||||
class LLScriptEventHandler *handler;
|
||||
class LLScriptExpression *expression;
|
||||
class LLScriptStatement *statement;
|
||||
class LLScriptGlobalFunctions *global_funcs;
|
||||
class LLScriptFunctionDec *global_decl;
|
||||
class LLScriptState *state;
|
||||
class LLScritpGlobalStorage *global_store;
|
||||
class LLScriptScript *script;
|
||||
|
||||
|
||||
|
||||
/* Line 1676 of yacc.c */
|
||||
#line 156 "indra_generated.y.hpp"
|
||||
} YYSTYPE;
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
# define YYSTYPE_IS_DECLARED 1
|
||||
#endif
|
||||
|
||||
extern YYSTYPE yylval;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user