1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 /* A Bison parser, made by GNU Bison 1.875. */
19 /* Skeleton parser for Yacc-like parsing with Bison,
20 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
22 This program is free software; you can redistribute it and/or modify
23 it under the terms of the GNU General Public License as published by
24 the Free Software Foundation; either version 2, or (at your option)
27 This program is distributed in the hope that it will be useful,
28 but WITHOUT ANY WARRANTY; without even the implied warranty of
29 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 GNU General Public License for more details.
32 You should have received a copy of the GNU General Public License
33 along with this program; if not, write to the Free Software
34 Foundation, Inc., 59 Temple Place - Suite 330,
35 Boston, MA 02111-1307, USA. */
37 /* As a special exception, when this file is copied by Bison into a
38 Bison output file, you may use that output file without restriction.
39 This special exception was added by the Free Software Foundation
40 in version 1.24 of Bison. */
45 /* Put the tokens into the symbol table, so that GDB and other debuggers
55 TOKEN_SEPARATOR
= 265,
62 TOKEN_ASSIGNATOR
= 272,
66 TOKEN_ONCHILDREN
= 276,
81 #define TOKEN_ELSE 259
82 #define TOKEN_WHILE 260
83 #define TOKEN_PRINT 261
85 #define TOKEN_CASE 263
86 #define TOKEN_POINT 264
87 #define TOKEN_SEPARATOR 265
94 #define TOKEN_ASSIGNATOR 272
95 #define TOKEN_SWITCH 273
96 #define TOKEN_RAND 274
97 #define TOKEN_NUMBER 275
98 #define TOKEN_ONCHILDREN 276
99 #define TOKEN_CHAIN 277
100 #define TOKEN_NAME 278
101 #define TOKEN_STRNAME 279
102 #define TOKEN_CTXNAME 280
103 #define TOKEN_LOGIC 281
104 #define TOKEN_INCRDECR 282
105 #define TOKEN_ADD 283
106 #define TOKEN_SUB 284
107 #define TOKEN_COMP 285
108 #define TOKEN_ASSIGN 286
109 #define TOKEN_FACTOR 287
114 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
115 #line 295 "ai_service/script_parser.yacc"
116 typedef union YYSTYPE
{
117 AICOMP::COpcodeYacc Opcode
;
118 AICOMP::COperatorYacc Operator
;
119 AICOMP::CByteCodeYacc ByteCode
;
120 AICOMP::CByteCodeListYacc ByteCodeList
;
121 AICOMP::CCaseYacc Case
;
122 AICOMP::CSwitchYacc Switch
;
125 /* Line 1248 of yacc.c. */
126 #line 110 "ai_service/script_parser_yacc.hpp"
127 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
128 # define YYSTYPE_IS_DECLARED 1
129 # define YYSTYPE_IS_TRIVIAL 1
132 extern YYSTYPE ailval
;