/* 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 { UNARY = 258, CASTREF = 259, VOID = 260, VAR = 261, POINT = 262, RECT = 263, ARRAY = 264, OBJECT = 265, REFERENCE = 266, INT = 267, ARGC = 268, ARGCNORET = 269, THEENTITY = 270, THEENTITYWITHID = 271, FLOAT = 272, BLTIN = 273, BLTINNOARGS = 274, BLTINNOARGSORONE = 275, BLTINONEARG = 276, BLTINARGLIST = 277, TWOWORDBUILTIN = 278, FBLTIN = 279, FBLTINNOARGS = 280, FBLTINONEARG = 281, FBLTINARGLIST = 282, RBLTIN = 283, RBLTINONEARG = 284, ID = 285, STRING = 286, HANDLER = 287, SYMBOL = 288, ENDCLAUSE = 289, tPLAYACCEL = 290, tMETHOD = 291, tDOWN = 292, tELSE = 293, tELSIF = 294, tEXIT = 295, tGLOBAL = 296, tGO = 297, tIF = 298, tINTO = 299, tLOOP = 300, tMACRO = 301, tMOVIE = 302, tNEXT = 303, tOF = 304, tPREVIOUS = 305, tPUT = 306, tREPEAT = 307, tSET = 308, tTHEN = 309, tTO = 310, tWHEN = 311, tWITH = 312, tWHILE = 313, tNLELSE = 314, tFACTORY = 315, tOPEN = 316, tPLAY = 317, tDONE = 318, tINSTANCE = 319, tGE = 320, tLE = 321, tEQ = 322, tNEQ = 323, tAND = 324, tOR = 325, tNOT = 326, tMOD = 327, tAFTER = 328, tBEFORE = 329, tCONCAT = 330, tCONTAINS = 331, tSTARTS = 332, tCHAR = 333, tITEM = 334, tLINE = 335, tWORD = 336, tSPRITE = 337, tINTERSECTS = 338, tWITHIN = 339, tTELL = 340, tPROPERTY = 341, tON = 342, tME = 343, tENDIF = 344, tENDREPEAT = 345, tENDTELL = 346 }; #endif /* Tokens. */ #define UNARY 258 #define CASTREF 259 #define VOID 260 #define VAR 261 #define POINT 262 #define RECT 263 #define ARRAY 264 #define OBJECT 265 #define REFERENCE 266 #define INT 267 #define ARGC 268 #define ARGCNORET 269 #define THEENTITY 270 #define THEENTITYWITHID 271 #define FLOAT 272 #define BLTIN 273 #define BLTINNOARGS 274 #define BLTINNOARGSORONE 275 #define BLTINONEARG 276 #define BLTINARGLIST 277 #define TWOWORDBUILTIN 278 #define FBLTIN 279 #define FBLTINNOARGS 280 #define FBLTINONEARG 281 #define FBLTINARGLIST 282 #define RBLTIN 283 #define RBLTINONEARG 284 #define ID 285 #define STRING 286 #define HANDLER 287 #define SYMBOL 288 #define ENDCLAUSE 289 #define tPLAYACCEL 290 #define tMETHOD 291 #define tDOWN 292 #define tELSE 293 #define tELSIF 294 #define tEXIT 295 #define tGLOBAL 296 #define tGO 297 #define tIF 298 #define tINTO 299 #define tLOOP 300 #define tMACRO 301 #define tMOVIE 302 #define tNEXT 303 #define tOF 304 #define tPREVIOUS 305 #define tPUT 306 #define tREPEAT 307 #define tSET 308 #define tTHEN 309 #define tTO 310 #define tWHEN 311 #define tWITH 312 #define tWHILE 313 #define tNLELSE 314 #define tFACTORY 315 #define tOPEN 316 #define tPLAY 317 #define tDONE 318 #define tINSTANCE 319 #define tGE 320 #define tLE 321 #define tEQ 322 #define tNEQ 323 #define tAND 324 #define tOR 325 #define tNOT 326 #define tMOD 327 #define tAFTER 328 #define tBEFORE 329 #define tCONCAT 330 #define tCONTAINS 331 #define tSTARTS 332 #define tCHAR 333 #define tITEM 334 #define tLINE 335 #define tWORD 336 #define tSPRITE 337 #define tINTERSECTS 338 #define tWITHIN 339 #define tTELL 340 #define tPROPERTY 341 #define tON 342 #define tME 343 #define tENDIF 344 #define tENDREPEAT 345 #define tENDTELL 346 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 82 "engines/director/lingo/lingo-gr.y" { Common::String *s; int i; double f; int e[2]; // Entity + field int code; int narg; /* number of arguments */ Common::Array *arr; } /* Line 1529 of yacc.c. */ #line 241 "engines/director/lingo/lingo-gr.hpp" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE yylval;