File indexing completed on 2024-12-22 04:17:54
0001 /* A Bison parser, made by GNU Bison 2.3. */ 0002 0003 /* Skeleton interface for Bison's Yacc-like parsers in C 0004 0005 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 0006 Free Software Foundation, Inc. 0007 0008 This program is free software; you can redistribute it and/or modify 0009 it under the terms of the GNU General Public License as published by 0010 the Free Software Foundation; either version 2, or (at your option) 0011 any later version. 0012 0013 This program is distributed in the hope that it will be useful, 0014 but WITHOUT ANY WARRANTY; without even the implied warranty of 0015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0016 GNU General Public License for more details. 0017 0018 You should have received a copy of the GNU General Public License 0019 along with this program; if not, write to the Free Software 0020 Foundation, Inc., 51 Franklin Street, Fifth Floor, 0021 Boston, MA 02110-1301, USA. */ 0022 0023 /* As a special exception, you may create a larger work that contains 0024 part or all of the Bison parser skeleton and distribute that work 0025 under terms of your choice, so long as that work isn't itself a 0026 parser generator using the skeleton or a modified version thereof 0027 as a parser skeleton. Alternatively, if you modify or redistribute 0028 the parser skeleton itself, you may (at your option) remove this 0029 special exception, which will cause the skeleton and the resulting 0030 Bison output files to be licensed under the GNU General Public 0031 License without this special exception. 0032 0033 This special exception was added by the Free Software Foundation in 0034 version 2.2 of Bison. */ 0035 0036 /* Tokens. */ 0037 #ifndef YYTOKENTYPE 0038 # define YYTOKENTYPE 0039 /* Put the tokens into the symbol table, so that GDB and other debuggers 0040 know about them. */ 0041 enum yytokentype { 0042 T_NUMBER = 258, 0043 T_IDENTIFIER = 259, 0044 T_DATA = 260, 0045 T_OPENPAR = 261, 0046 T_CLOSEPAR = 262, 0047 T_COMMA = 263, 0048 T_INVALID = 264, 0049 T_LOR = 265, 0050 T_LAND = 266, 0051 T_OR = 267, 0052 T_AND = 268, 0053 T_NE = 269, 0054 T_EQ = 270, 0055 T_GE = 271, 0056 T_GT = 272, 0057 T_LE = 273, 0058 T_LT = 274, 0059 T_SUBTRACT = 275, 0060 T_ADD = 276, 0061 T_MOD = 277, 0062 T_DIVIDE = 278, 0063 T_MULTIPLY = 279, 0064 T_NOT = 280, 0065 U_SUBTRACT = 281, 0066 T_EXP = 282 0067 }; 0068 #endif 0069 /* Tokens. */ 0070 #define T_NUMBER 258 0071 #define T_IDENTIFIER 259 0072 #define T_DATA 260 0073 #define T_OPENPAR 261 0074 #define T_CLOSEPAR 262 0075 #define T_COMMA 263 0076 #define T_INVALID 264 0077 #define T_LOR 265 0078 #define T_LAND 266 0079 #define T_OR 267 0080 #define T_AND 268 0081 #define T_NE 269 0082 #define T_EQ 270 0083 #define T_GE 271 0084 #define T_GT 272 0085 #define T_LE 273 0086 #define T_LT 274 0087 #define T_SUBTRACT 275 0088 #define T_ADD 276 0089 #define T_MOD 277 0090 #define T_DIVIDE 278 0091 #define T_MULTIPLY 279 0092 #define T_NOT 280 0093 #define U_SUBTRACT 281 0094 #define T_EXP 282 0095 0096 0097 0098 0099 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 0100 typedef union YYSTYPE 0101 #line 20 "../../../src/libkstmath/eparse.y" 0102 { 0103 char *data; 0104 double number; 0105 void *n; /* tree node */ 0106 char character; 0107 } 0108 /* Line 1529 of yacc.c. */ 0109 #line 110 "eparse.tab.h" 0110 YYSTYPE; 0111 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 0112 # define YYSTYPE_IS_DECLARED 1 0113 # define YYSTYPE_IS_TRIVIAL 1 0114 #endif 0115 0116 extern YYSTYPE yylval; 0117