/* 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, THEENTITY = 268, THEENTITYWITHID = 269, FLOAT = 270, BLTIN = 271, BLTINNOARGS = 272, BLTINNOARGSORONE = 273, BLTINONEARG = 274, BLTINARGLIST = 275, TWOWORDBUILTIN = 276, FBLTIN = 277, FBLTINNOARGS = 278, FBLTINONEARG = 279, FBLTINARGLIST = 280, RBLTIN = 281, RBLTINONEARG = 282, ID = 283, STRING = 284, HANDLER = 285, SYMBOL = 286, ENDCLAUSE = 287, tPLAYACCEL = 288, tDOWN = 289, tELSE = 290, tNLELSIF = 291, tEXIT = 292, tFRAME = 293, tGLOBAL = 294, tGO = 295, tIF = 296, tINTO = 297, tLOOP = 298, tMACRO = 299, tMOVIE = 300, tNEXT = 301, tOF = 302, tPREVIOUS = 303, tPUT = 304, tREPEAT = 305, tSET = 306, tTHEN = 307, tTO = 308, tWHEN = 309, tWITH = 310, tWHILE = 311, tNLELSE = 312, tFACTORY = 313, tMETHOD = 314, tOPEN = 315, tPLAY = 316, tDONE = 317, tINSTANCE = 318, tGE = 319, tLE = 320, tGT = 321, tLT = 322, tEQ = 323, tNEQ = 324, tAND = 325, tOR = 326, tNOT = 327, tMOD = 328, tAFTER = 329, tBEFORE = 330, tCONCAT = 331, tCONTAINS = 332, tSTARTS = 333, tCHAR = 334, tITEM = 335, tLINE = 336, tWORD = 337, tSPRITE = 338, tINTERSECTS = 339, tWITHIN = 340, tTELL = 341, tPROPERTY = 342, tON = 343, tME = 344 }; #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 THEENTITY 268 #define THEENTITYWITHID 269 #define FLOAT 270 #define BLTIN 271 #define BLTINNOARGS 272 #define BLTINNOARGSORONE 273 #define BLTINONEARG 274 #define BLTINARGLIST 275 #define TWOWORDBUILTIN 276 #define FBLTIN 277 #define FBLTINNOARGS 278 #define FBLTINONEARG 279 #define FBLTINARGLIST 280 #define RBLTIN 281 #define RBLTINONEARG 282 #define ID 283 #define STRING 284 #define HANDLER 285 #define SYMBOL 286 #define ENDCLAUSE 287 #define tPLAYACCEL 288 #define tDOWN 289 #define tELSE 290 #define tNLELSIF 291 #define tEXIT 292 #define tFRAME 293 #define tGLOBAL 294 #define tGO 295 #define tIF 296 #define tINTO 297 #define tLOOP 298 #define tMACRO 299 #define tMOVIE 300 #define tNEXT 301 #define tOF 302 #define tPREVIOUS 303 #define tPUT 304 #define tREPEAT 305 #define tSET 306 #define tTHEN 307 #define tTO 308 #define tWHEN 309 #define tWITH 310 #define tWHILE 311 #define tNLELSE 312 #define tFACTORY 313 #define tMETHOD 314 #define tOPEN 315 #define tPLAY 316 #define tDONE 317 #define tINSTANCE 318 #define tGE 319 #define tLE 320 #define tGT 321 #define tLT 322 #define tEQ 323 #define tNEQ 324 #define tAND 325 #define tOR 326 #define tNOT 327 #define tMOD 328 #define tAFTER 329 #define tBEFORE 330 #define tCONCAT 331 #define tCONTAINS 332 #define tSTARTS 333 #define tCHAR 334 #define tITEM 335 #define tLINE 336 #define tWORD 337 #define tSPRITE 338 #define tINTERSECTS 339 #define tWITHIN 340 #define tTELL 341 #define tPROPERTY 342 #define tON 343 #define tME 344 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 79 "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 237 "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;