~ubuntu-branches/ubuntu/precise/graphviz/precise-security

« back to all changes in this revision

Viewing changes to lib/expr/y.tab.h

  • Committer: Bazaar Package Importer
  • Author(s): David Claughton
  • Date: 2010-03-24 22:45:18 UTC
  • mfrom: (1.2.7 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100324224518-do441tthbqjaqjzd
Tags: 2.26.3-4
Add patch to fix segfault in circo. Backported from upstream snapshot
release.  Thanks to Francis Russell for his work on this.
(Closes: #575255)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* A Bison parser, made by GNU Bison 2.3.  */
 
1
 
 
2
/* A Bison parser, made by GNU Bison 2.4.1.  */
2
3
 
3
4
/* Skeleton interface for Bison's Yacc-like parsers in C
4
 
 
5
 
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
5
   
 
6
      Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6
7
   Free Software Foundation, Inc.
7
 
 
8
 
   This program is free software; you can redistribute it and/or modify
 
8
   
 
9
   This program is free software: you can redistribute it and/or modify
9
10
   it under the terms of the GNU General Public License as published by
10
 
   the Free Software Foundation; either version 2, or (at your option)
11
 
   any later version.
12
 
 
 
11
   the Free Software Foundation, either version 3 of the License, or
 
12
   (at your option) any later version.
 
13
   
13
14
   This program is distributed in the hope that it will be useful,
14
15
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
16
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
17
   GNU General Public License for more details.
17
 
 
 
18
   
18
19
   You should have received a copy of the GNU General Public License
19
 
   along with this program; if not, write to the Free Software
20
 
   Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
 
   Boston, MA 02110-1301, USA.  */
 
20
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
22
21
 
23
22
/* As a special exception, you may create a larger work that contains
24
23
   part or all of the Bison parser skeleton and distribute that work
29
28
   special exception, which will cause the skeleton and the resulting
30
29
   Bison output files to be licensed under the GNU General Public
31
30
   License without this special exception.
32
 
 
 
31
   
33
32
   This special exception was added by the Free Software Foundation in
34
33
   version 2.2 of Bison.  */
35
34
 
 
35
 
36
36
/* Tokens.  */
37
37
#ifndef YYTOKENTYPE
38
38
# define YYTOKENTYPE
40
40
      know about them.  */
41
41
   enum yytokentype {
42
42
     MINTOKEN = 258,
43
 
     INT = 259,
44
 
     INTEGER = 260,
45
 
     UNSIGNED = 261,
46
 
     CHAR = 262,
47
 
     FLOATING = 263,
48
 
     STRING = 264,
49
 
     VOID = 265,
50
 
     ADDRESS = 266,
51
 
     ARRAY = 267,
52
 
     BREAK = 268,
53
 
     CALL = 269,
54
 
     CASE = 270,
55
 
     CONSTANT = 271,
56
 
     CONTINUE = 272,
57
 
     DECLARE = 273,
58
 
     DEFAULT = 274,
59
 
     DYNAMIC = 275,
60
 
     ELSE = 276,
61
 
     EXIT = 277,
62
 
     FOR = 278,
63
 
     FUNCTION = 279,
64
 
     GSUB = 280,
65
 
     ITERATE = 281,
 
43
     INTEGER = 259,
 
44
     UNSIGNED = 260,
 
45
     CHARACTER = 261,
 
46
     FLOATING = 262,
 
47
     STRING = 263,
 
48
     VOIDTYPE = 264,
 
49
     ADDRESS = 265,
 
50
     ARRAY = 266,
 
51
     BREAK = 267,
 
52
     CALL = 268,
 
53
     CASE = 269,
 
54
     CONSTANT = 270,
 
55
     CONTINUE = 271,
 
56
     DECLARE = 272,
 
57
     DEFAULT = 273,
 
58
     DYNAMIC = 274,
 
59
     ELSE = 275,
 
60
     EXIT = 276,
 
61
     FOR = 277,
 
62
     FUNCTION = 278,
 
63
     GSUB = 279,
 
64
     ITERATE = 280,
 
65
     ITERATER = 281,
66
66
     ID = 282,
67
67
     IF = 283,
68
68
     LABEL = 284,
78
78
     RAND = 294,
79
79
     RETURN = 295,
80
80
     SCANF = 296,
81
 
     SPRINTF = 297,
82
 
     SRAND = 298,
83
 
     SSCANF = 299,
84
 
     SUB = 300,
85
 
     SUBSTR = 301,
86
 
     SWITCH = 302,
87
 
     WHILE = 303,
88
 
     F2I = 304,
89
 
     F2S = 305,
90
 
     I2F = 306,
91
 
     I2S = 307,
92
 
     S2B = 308,
93
 
     S2F = 309,
94
 
     S2I = 310,
95
 
     F2X = 311,
96
 
     I2X = 312,
97
 
     S2X = 313,
98
 
     X2F = 314,
99
 
     X2I = 315,
100
 
     X2S = 316,
101
 
     X2X = 317,
102
 
     XPRINT = 318,
103
 
     OR = 319,
104
 
     AND = 320,
105
 
     NE = 321,
106
 
     EQ = 322,
107
 
     GE = 323,
108
 
     LE = 324,
109
 
     RS = 325,
110
 
     LS = 326,
111
 
     UNARY = 327,
112
 
     DEC = 328,
113
 
     INC = 329,
114
 
     CAST = 330,
115
 
     MAXTOKEN = 331
 
81
     SPLIT = 297,
 
82
     SPRINTF = 298,
 
83
     SRAND = 299,
 
84
     SSCANF = 300,
 
85
     SUB = 301,
 
86
     SUBSTR = 302,
 
87
     SWITCH = 303,
 
88
     TOKENS = 304,
 
89
     UNSET = 305,
 
90
     WHILE = 306,
 
91
     F2I = 307,
 
92
     F2S = 308,
 
93
     I2F = 309,
 
94
     I2S = 310,
 
95
     S2B = 311,
 
96
     S2F = 312,
 
97
     S2I = 313,
 
98
     F2X = 314,
 
99
     I2X = 315,
 
100
     S2X = 316,
 
101
     X2F = 317,
 
102
     X2I = 318,
 
103
     X2S = 319,
 
104
     X2X = 320,
 
105
     XPRINT = 321,
 
106
     OR = 322,
 
107
     AND = 323,
 
108
     NE = 324,
 
109
     EQ = 325,
 
110
     GE = 326,
 
111
     LE = 327,
 
112
     RS = 328,
 
113
     LS = 329,
 
114
     IN_OP = 330,
 
115
     UNARY = 331,
 
116
     DEC = 332,
 
117
     INC = 333,
 
118
     CAST = 334,
 
119
     MAXTOKEN = 335
116
120
   };
117
121
#endif
118
122
/* Tokens.  */
119
123
#define MINTOKEN 258
120
 
#define INT 259
121
 
#define INTEGER 260
122
 
#define UNSIGNED 261
123
 
#define CHAR 262
124
 
#define FLOATING 263
125
 
#define STRING 264
126
 
#define VOID 265
127
 
#define ADDRESS 266
128
 
#define ARRAY 267
129
 
#define BREAK 268
130
 
#define CALL 269
131
 
#define CASE 270
132
 
#define CONSTANT 271
133
 
#define CONTINUE 272
134
 
#define DECLARE 273
135
 
#define DEFAULT 274
136
 
#define DYNAMIC 275
137
 
#define ELSE 276
138
 
#define EXIT 277
139
 
#define FOR 278
140
 
#define FUNCTION 279
141
 
#define GSUB 280
142
 
#define ITERATE 281
 
124
#define INTEGER 259
 
125
#define UNSIGNED 260
 
126
#define CHARACTER 261
 
127
#define FLOATING 262
 
128
#define STRING 263
 
129
#define VOIDTYPE 264
 
130
#define ADDRESS 265
 
131
#define ARRAY 266
 
132
#define BREAK 267
 
133
#define CALL 268
 
134
#define CASE 269
 
135
#define CONSTANT 270
 
136
#define CONTINUE 271
 
137
#define DECLARE 272
 
138
#define DEFAULT 273
 
139
#define DYNAMIC 274
 
140
#define ELSE 275
 
141
#define EXIT 276
 
142
#define FOR 277
 
143
#define FUNCTION 278
 
144
#define GSUB 279
 
145
#define ITERATE 280
 
146
#define ITERATER 281
143
147
#define ID 282
144
148
#define IF 283
145
149
#define LABEL 284
155
159
#define RAND 294
156
160
#define RETURN 295
157
161
#define SCANF 296
158
 
#define SPRINTF 297
159
 
#define SRAND 298
160
 
#define SSCANF 299
161
 
#define SUB 300
162
 
#define SUBSTR 301
163
 
#define SWITCH 302
164
 
#define WHILE 303
165
 
#define F2I 304
166
 
#define F2S 305
167
 
#define I2F 306
168
 
#define I2S 307
169
 
#define S2B 308
170
 
#define S2F 309
171
 
#define S2I 310
172
 
#define F2X 311
173
 
#define I2X 312
174
 
#define S2X 313
175
 
#define X2F 314
176
 
#define X2I 315
177
 
#define X2S 316
178
 
#define X2X 317
179
 
#define XPRINT 318
180
 
#define OR 319
181
 
#define AND 320
182
 
#define NE 321
183
 
#define EQ 322
184
 
#define GE 323
185
 
#define LE 324
186
 
#define RS 325
187
 
#define LS 326
188
 
#define UNARY 327
189
 
#define DEC 328
190
 
#define INC 329
191
 
#define CAST 330
192
 
#define MAXTOKEN 331
 
162
#define SPLIT 297
 
163
#define SPRINTF 298
 
164
#define SRAND 299
 
165
#define SSCANF 300
 
166
#define SUB 301
 
167
#define SUBSTR 302
 
168
#define SWITCH 303
 
169
#define TOKENS 304
 
170
#define UNSET 305
 
171
#define WHILE 306
 
172
#define F2I 307
 
173
#define F2S 308
 
174
#define I2F 309
 
175
#define I2S 310
 
176
#define S2B 311
 
177
#define S2F 312
 
178
#define S2I 313
 
179
#define F2X 314
 
180
#define I2X 315
 
181
#define S2X 316
 
182
#define X2F 317
 
183
#define X2I 318
 
184
#define X2S 319
 
185
#define X2X 320
 
186
#define XPRINT 321
 
187
#define OR 322
 
188
#define AND 323
 
189
#define NE 324
 
190
#define EQ 325
 
191
#define GE 326
 
192
#define LE 327
 
193
#define RS 328
 
194
#define LS 329
 
195
#define IN_OP 330
 
196
#define UNARY 331
 
197
#define DEC 332
 
198
#define INC 333
 
199
#define CAST 334
 
200
#define MAXTOKEN 335
193
201
 
194
202
 
195
203
 
196
204
 
197
205
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
198
206
typedef union YYSTYPE
 
207
{
 
208
 
 
209
/* Line 1676 of yacc.c  */
199
210
#line 45 "../../lib/expr/exparse.y"
200
 
{
 
211
 
201
212
        struct Exnode_s*expr;
202
213
        double          floating;
203
214
        struct Exref_s* reference;
207
218
        char*           string;
208
219
        void*           user;
209
220
        struct Exbuf_s* buffer;
210
 
}
211
 
/* Line 1489 of yacc.c.  */
212
 
#line 213 "y.tab.h"
213
 
        YYSTYPE;
 
221
 
 
222
 
 
223
 
 
224
/* Line 1676 of yacc.c  */
 
225
#line 226 "y.tab.h"
 
226
} YYSTYPE;
 
227
# define YYSTYPE_IS_TRIVIAL 1
214
228
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
215
229
# define YYSTYPE_IS_DECLARED 1
216
 
# define YYSTYPE_IS_TRIVIAL 1
217
230
#endif
218
231
 
219
232
extern YYSTYPE yylval;
220
233
 
 
234