00001 00002 /* A Bison parser, made by GNU Bison 2.4.1. */ 00003 00004 /* Skeleton interface for Bison's Yacc-like parsers in C 00005 00006 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 00007 Free Software Foundation, Inc. 00008 00009 This program is free software: you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation, either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00021 00022 /* As a special exception, you may create a larger work that contains 00023 part or all of the Bison parser skeleton and distribute that work 00024 under terms of your choice, so long as that work isn't itself a 00025 parser generator using the skeleton or a modified version thereof 00026 as a parser skeleton. Alternatively, if you modify or redistribute 00027 the parser skeleton itself, you may (at your option) remove this 00028 special exception, which will cause the skeleton and the resulting 00029 Bison output files to be licensed under the GNU General Public 00030 License without this special exception. 00031 00032 This special exception was added by the Free Software Foundation in 00033 version 2.2 of Bison. */ 00034 00035 00036 /* Tokens. */ 00037 #ifndef YYTOKENTYPE 00038 # define YYTOKENTYPE 00039 /* Put the tokens into the symbol table, so that GDB and other debuggers 00040 know about them. */ 00041 enum yytokentype { 00042 TOK_COLONCOLON = 258, 00043 TOK_COND = 259, 00044 TOK_OR = 260, 00045 TOK_AND = 261, 00046 TOK_NE = 262, 00047 TOK_LE = 263, 00048 TOK_GE = 264, 00049 TOK_LT = 265, 00050 TOK_GT = 266, 00051 TOK_EQ = 267, 00052 TOK_MINUS = 268, 00053 TOK_PLUS = 269, 00054 TOK_MOD = 270, 00055 TOK_DIV = 271, 00056 TOK_MULT = 272, 00057 TOK_COMPL = 273, 00058 TOK_EQTILDE = 274, 00059 TOK_COLON = 275, 00060 TOK_LP = 276, 00061 TOK_RP = 277, 00062 TOKEN = 278 00063 }; 00064 #endif 00065 00066 00067 00068 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00069 typedef union YYSTYPE 00070 { 00071 00072 /* Line 1676 of yacc.c */ 00073 #line 147 "ast_expr2.y" 00074 00075 struct val *val; 00076 00077 00078 00079 /* Line 1676 of yacc.c */ 00080 #line 81 "ast_expr2.h" 00081 } YYSTYPE; 00082 # define YYSTYPE_IS_TRIVIAL 1 00083 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00084 # define YYSTYPE_IS_DECLARED 1 00085 #endif 00086 00087 00088 00089 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED 00090 typedef struct YYLTYPE 00091 { 00092 int first_line; 00093 int first_column; 00094 int last_line; 00095 int last_column; 00096 } YYLTYPE; 00097 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */ 00098 # define YYLTYPE_IS_DECLARED 1 00099 # define YYLTYPE_IS_TRIVIAL 1 00100 #endif 00101 00102 00103