/* A Bison parser, made by GNU Bison 2.2. */ /* 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 { T_LPAREN = 258, T_RPAREN = 259, T_LBRACE = 260, T_RBRACE = 261, T_LBRACKET = 262, T_RBRACKET = 263, T_PLUS = 264, T_ASTERISK = 265, T_MINUS = 266, T_MOD = 267, T_COMMA = 268, T_PERIOD = 269, T_SEMIC = 270, T_DIVIDE = 271, T_DIVIDE_ASSIGN = 272, T_PLUS_ASSIGN = 273, T_MINUS_ASSIGN = 274, T_MOD_ASSIGN = 275, T_ASTERISK_ASSIGN = 276, T_ASSIGN = 277, T_AND = 278, T_OR = 279, T_EQUAL = 280, T_LESS_EQUAL = 281, T_GREATER_EQUAL = 282, T_NOT_EQUAL = 283, T_GREATER = 284, T_LESS = 285, T_IF = 286, T_ELSE = 287, T_FOR = 288, T_FORWARD = 289, T_INITIALIZATION = 290, T_ANIMATION = 291, T_EXIT = 292, T_ID = 293, T_PRINT = 294, T_ON = 295, T_NOT = 296, T_TRUE = 297, T_FALSE = 298, T_TOUCHES = 299, T_NEAR = 300, T_SIN = 301, T_COS = 302, T_TAN = 303, T_ASIN = 304, T_ACOS = 305, T_ATAN = 306, T_SQRT = 307, T_ABS = 308, T_FLOOR = 309, T_RANDOM = 310, T_TYPE = 311, T_TRIANGLE = 312, T_PIXMAP = 313, T_CIRCLE = 314, T_RECTANGLE = 315, T_TEXTBOX = 316, T_LEFTARROW = 317, T_RIGHTARROW = 318, T_DOWNARROW = 319, T_UPARROW = 320, T_F1 = 321, T_SPACE = 322, T_STRING_CONSTANT = 323, T_DOUBLE_CONSTANT = 324, T_INT_CONSTANT = 325, T_ERROR = 326, T_KEY = 327, IF_NO_ELSE = 328, UNARY_OPS = 329 }; #endif /* Tokens. */ #define T_LPAREN 258 #define T_RPAREN 259 #define T_LBRACE 260 #define T_RBRACE 261 #define T_LBRACKET 262 #define T_RBRACKET 263 #define T_PLUS 264 #define T_ASTERISK 265 #define T_MINUS 266 #define T_MOD 267 #define T_COMMA 268 #define T_PERIOD 269 #define T_SEMIC 270 #define T_DIVIDE 271 #define T_DIVIDE_ASSIGN 272 #define T_PLUS_ASSIGN 273 #define T_MINUS_ASSIGN 274 #define T_MOD_ASSIGN 275 #define T_ASTERISK_ASSIGN 276 #define T_ASSIGN 277 #define T_AND 278 #define T_OR 279 #define T_EQUAL 280 #define T_LESS_EQUAL 281 #define T_GREATER_EQUAL 282 #define T_NOT_EQUAL 283 #define T_GREATER 284 #define T_LESS 285 #define T_IF 286 #define T_ELSE 287 #define T_FOR 288 #define T_FORWARD 289 #define T_INITIALIZATION 290 #define T_ANIMATION 291 #define T_EXIT 292 #define T_ID 293 #define T_PRINT 294 #define T_ON 295 #define T_NOT 296 #define T_TRUE 297 #define T_FALSE 298 #define T_TOUCHES 299 #define T_NEAR 300 #define T_SIN 301 #define T_COS 302 #define T_TAN 303 #define T_ASIN 304 #define T_ACOS 305 #define T_ATAN 306 #define T_SQRT 307 #define T_ABS 308 #define T_FLOOR 309 #define T_RANDOM 310 #define T_TYPE 311 #define T_TRIANGLE 312 #define T_PIXMAP 313 #define T_CIRCLE 314 #define T_RECTANGLE 315 #define T_TEXTBOX 316 #define T_LEFTARROW 317 #define T_RIGHTARROW 318 #define T_DOWNARROW 319 #define T_UPARROW 320 #define T_F1 321 #define T_SPACE 322 #define T_STRING_CONSTANT 323 #define T_DOUBLE_CONSTANT 324 #define T_INT_CONSTANT 325 #define T_ERROR 326 #define T_KEY 327 #define IF_NO_ELSE 328 #define UNARY_OPS 329 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 64 "gpl.y" { int union_int; string *union_string; // MUST be a pointer to a string (this sucks!) double union_double; char union_char; int union_type; Expression *union_expression; char union_math; } /* Line 1488 of yacc.c. */ #line 207 "y.tab.h" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE yylval;