/* 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 { BOOL_CONST = 258, AND = 259, BREAK = 260, CONTINUE = 261, DEL = 262, ELSE = 263, FOR = 264, FROM = 265, IF = 266, INCLUDE = 267, IMPORT = 268, IN = 269, OR = 270, NOT = 271, PRINT = 272, RETURN = 273, WHILE = 274, TO = 275, IDENTIFIER = 276, TYPENAME = 277, INT_CONST = 278, LONGINT_CONST = 279, IM_CONST = 280, STRING_LITERAL = 281, FLOAT_CONST = 282, TRUE = 283, FALSE = 284, INC_OP = 285, DEC_OP = 286, LEFT_OP = 287, RIGHT_OP = 288, LE_OP = 289, GE_OP = 290, EQ_OP = 291, NE_OP = 292, MUL_ASSIGN = 293, DIV_ASSIGN = 294, MOD_ASSIGN = 295, ADD_ASSIGN = 296, SUB_ASSIGN = 297, LEFT_ASSIGN = 298, RIGHT_ASSIGN = 299, AND_ASSIGN = 300, XOR_ASSIGN = 301, OR_ASSIGN = 302, EXP_ASSIGN = 303, EXP_OP = 304, FUNCTION = 305, CLASS = 306, METHOD = 307, END = 308 }; #endif /* Tokens. */ #define BOOL_CONST 258 #define AND 259 #define BREAK 260 #define CONTINUE 261 #define DEL 262 #define ELSE 263 #define FOR 264 #define FROM 265 #define IF 266 #define INCLUDE 267 #define IMPORT 268 #define IN 269 #define OR 270 #define NOT 271 #define PRINT 272 #define RETURN 273 #define WHILE 274 #define TO 275 #define IDENTIFIER 276 #define TYPENAME 277 #define INT_CONST 278 #define LONGINT_CONST 279 #define IM_CONST 280 #define STRING_LITERAL 281 #define FLOAT_CONST 282 #define TRUE 283 #define FALSE 284 #define INC_OP 285 #define DEC_OP 286 #define LEFT_OP 287 #define RIGHT_OP 288 #define LE_OP 289 #define GE_OP 290 #define EQ_OP 291 #define NE_OP 292 #define MUL_ASSIGN 293 #define DIV_ASSIGN 294 #define MOD_ASSIGN 295 #define ADD_ASSIGN 296 #define SUB_ASSIGN 297 #define LEFT_ASSIGN 298 #define RIGHT_ASSIGN 299 #define AND_ASSIGN 300 #define XOR_ASSIGN 301 #define OR_ASSIGN 302 #define EXP_ASSIGN 303 #define EXP_OP 304 #define FUNCTION 305 #define CLASS 306 #define METHOD 307 #define END 308 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 195 "zparse.y" { double dval; int ival; char * sval; struct Code * exp; struct ZObj * zobj; } /* Line 1529 of yacc.c. */ #line 163 "zparse.tab.h" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE zeta_lval;