1 /* A Bison parser, made by GNU Bison 1.875.  */
2 
3 /* Skeleton parser for Yacc-like parsing with Bison,
4    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
5 
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2, or (at your option)
9    any later version.
10 
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15 
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 59 Temple Place - Suite 330,
19    Boston, MA 02111-1307, USA.  */
20 
21 /* As a special exception, when this file is copied by Bison into a
22    Bison output file, you may use that output file without restriction.
23    This special exception was added by the Free Software Foundation
24    in version 1.24 of Bison.  */
25 
26 /* Tokens.  */
27 #ifndef YYTOKENTYPE
28 # define YYTOKENTYPE
29    /* Put the tokens into the symbol table, so that GDB and other debuggers
30       know about them.  */
31    enum yytokentype {
32      T_NAME = 258,
33      T_FLOAT = 259,
34      T_DOUBLE = 260,
35      T_INT = 261,
36      T_INPUT = 262,
37      T_ID = 263,
38      T_STRING = 264,
39      T_EOF = 265,
40      T_LPAR = 266,
41      T_RPAR = 267,
42      T_LBRA = 268,
43      T_RBRA = 269,
44      T_LSQB = 270,
45      T_RSQB = 271,
46      T_COMMA = 272,
47      T_PERIOD = 273,
48      T_COLON = 274,
49      T_LOR = 275,
50      T_LAND = 276,
51      T_LNOT = 277,
52      T_LT = 278,
53      T_LE = 279,
54      T_GT = 280,
55      T_GE = 281,
56      T_EQ = 282,
57      T_NE = 283,
58      T_QUEST = 284,
59      T_CROSS = 285,
60      T_DOT = 286,
61      T_PLUS = 287,
62      T_MINUS = 288,
63      T_EXP = 289,
64      T_TIMES = 290,
65      T_DIV = 291,
66      T_MOD = 292,
67      T_ASSIGN = 293,
68      T_SEMI = 294,
69      U_PLUS = 295,
70      U_MINUS = 296,
71      U_LNOT = 297
72    };
73 #endif
74 #define T_NAME 258
75 #define T_FLOAT 259
76 #define T_DOUBLE 260
77 #define T_INT 261
78 #define T_INPUT 262
79 #define T_ID 263
80 #define T_STRING 264
81 #define T_EOF 265
82 #define T_LPAR 266
83 #define T_RPAR 267
84 #define T_LBRA 268
85 #define T_RBRA 269
86 #define T_LSQB 270
87 #define T_RSQB 271
88 #define T_COMMA 272
89 #define T_PERIOD 273
90 #define T_COLON 274
91 #define T_LOR 275
92 #define T_LAND 276
93 #define T_LNOT 277
94 #define T_LT 278
95 #define T_LE 279
96 #define T_GT 280
97 #define T_GE 281
98 #define T_EQ 282
99 #define T_NE 283
100 #define T_QUEST 284
101 #define T_CROSS 285
102 #define T_DOT 286
103 #define T_PLUS 287
104 #define T_MINUS 288
105 #define T_EXP 289
106 #define T_TIMES 290
107 #define T_DIV 291
108 #define T_MOD 292
109 #define T_ASSIGN 293
110 #define T_SEMI 294
111 #define U_PLUS 295
112 #define U_MINUS 296
113 #define U_LNOT 297
114 
115 
116 
117 
118 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
119 #line 27 "./_compparse.y"
120 typedef union YYSTYPE {
121 #define MAX_PARSE_STRING_SIZE 512
122     char s[MAX_PARSE_STRING_SIZE];
123     int i;
124     float f;
125     double d;
126     PTreeNode *a;
127 } YYSTYPE;
128 /* Line 1248 of yacc.c.  */
129 #line 129 "y.tab.h"
130 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
131 # define YYSTYPE_IS_DECLARED 1
132 # define YYSTYPE_IS_TRIVIAL 1
133 #endif
134 
135 
136 
137 
138 
139