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