1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
|
/* 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 {
_T_EOF = 0,
BRACKET_OPEN = 258,
BRACKET_CLOSE = 259,
SQ_BRACKET_OPEN = 260,
SQ_BRACKET_CLOSE = 261,
PIPE = 262,
T_WORD = 263,
R_POSSESSION = 264,
_T_QM = 265,
_T_EM = 266,
_T_FULLSTOP = 267,
_T_COLON = 268,
_T_SEMICOLON = 269,
_T_COMMA = 270,
_T_A = 271,
_T_AFFIRMATIVE = 272,
_T_AFTER = 273,
_T_ALLY = 274,
_T_AM = 275,
_T_AN = 276,
_T_AND = 277,
_T_ANY = 278,
_T_ATTACK = 279,
_T_ATTACKING = 280,
_T_ARMY = 281,
_T_BEACON = 282,
_T_BUILDING = 283,
_T_CANT = 284,
_T_CENTER = 285,
_T_DEAD = 286,
_T_DERRICK = 287,
_T_DO = 288,
_T_DROP = 289,
_T_FINE = 290,
_T_FOR = 291,
_T_FORCE = 292,
_T_GET = 293,
_T_GETTING = 294,
_T_GO = 295,
_T_GOING = 296,
_T_GONNA = 297,
_T_GOT = 298,
_T_GREAT = 299,
_T_HAVE = 300,
_T_HAS = 301,
_T_HELP = 302,
_T_HOLD = 303,
_T_I = 304,
_T_IM = 305,
_T_IS = 306,
_T_LASSAT = 307,
_T_LETS = 308,
_T_ME = 309,
_T_MORE = 310,
_T_NEED = 311,
_T_NO = 312,
_T_NOW = 313,
_T_OFCOURSE = 314,
_T_OK = 315,
_T_ON = 316,
_T_PLACE = 317,
_T_POSSESSION = 318,
_T_POWER = 319,
_T_PUMPING = 320,
_T_PUT = 321,
_T_READY = 322,
_T_REQUIRE = 323,
_T_ROGER = 324,
_T_RUSH = 325,
_T_SEC = 326,
_T_SEE = 327,
_T_SOME = 328,
_T_STATUS = 329,
_T_STOP = 330,
_T_SURE = 331,
_T_THANK_YOU = 332,
_T_THANKS = 333,
_T_THE = 334,
_T_U = 335,
_T_UNITS = 336,
_T_VTOLS = 337,
_T_WAIT = 338,
_T_WHERE = 339,
_T_YES = 340,
_T_YOU = 341,
R_PLAYER = 342,
R_INTEGER = 343
};
#endif
/* Tokens. */
#define _T_EOF 0
#define BRACKET_OPEN 258
#define BRACKET_CLOSE 259
#define SQ_BRACKET_OPEN 260
#define SQ_BRACKET_CLOSE 261
#define PIPE 262
#define T_WORD 263
#define R_POSSESSION 264
#define _T_QM 265
#define _T_EM 266
#define _T_FULLSTOP 267
#define _T_COLON 268
#define _T_SEMICOLON 269
#define _T_COMMA 270
#define _T_A 271
#define _T_AFFIRMATIVE 272
#define _T_AFTER 273
#define _T_ALLY 274
#define _T_AM 275
#define _T_AN 276
#define _T_AND 277
#define _T_ANY 278
#define _T_ATTACK 279
#define _T_ATTACKING 280
#define _T_ARMY 281
#define _T_BEACON 282
#define _T_BUILDING 283
#define _T_CANT 284
#define _T_CENTER 285
#define _T_DEAD 286
#define _T_DERRICK 287
#define _T_DO 288
#define _T_DROP 289
#define _T_FINE 290
#define _T_FOR 291
#define _T_FORCE 292
#define _T_GET 293
#define _T_GETTING 294
#define _T_GO 295
#define _T_GOING 296
#define _T_GONNA 297
#define _T_GOT 298
#define _T_GREAT 299
#define _T_HAVE 300
#define _T_HAS 301
#define _T_HELP 302
#define _T_HOLD 303
#define _T_I 304
#define _T_IM 305
#define _T_IS 306
#define _T_LASSAT 307
#define _T_LETS 308
#define _T_ME 309
#define _T_MORE 310
#define _T_NEED 311
#define _T_NO 312
#define _T_NOW 313
#define _T_OFCOURSE 314
#define _T_OK 315
#define _T_ON 316
#define _T_PLACE 317
#define _T_POSSESSION 318
#define _T_POWER 319
#define _T_PUMPING 320
#define _T_PUT 321
#define _T_READY 322
#define _T_REQUIRE 323
#define _T_ROGER 324
#define _T_RUSH 325
#define _T_SEC 326
#define _T_SEE 327
#define _T_SOME 328
#define _T_STATUS 329
#define _T_STOP 330
#define _T_SURE 331
#define _T_THANK_YOU 332
#define _T_THANKS 333
#define _T_THE 334
#define _T_U 335
#define _T_UNITS 336
#define _T_VTOLS 337
#define _T_WAIT 338
#define _T_WHERE 339
#define _T_YES 340
#define _T_YOU 341
#define R_PLAYER 342
#define R_INTEGER 343
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 1676 of yacc.c */
#line 177 "chat_parser.y"
BOOL bval;
SDWORD ival;
/* Line 1676 of yacc.c */
#line 237 "chat_parser.tab.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE chat_lval;
|