c5c6ac7c5a85e8fd26b41363d67525ecd8a90acb
[platform/upstream/groff.git] / src / preproc / pic / pic_tab.h
1 /* A Bison parser, made by GNU Bison 3.0.2.  */
2
3 /* Bison interface for Yacc-like parsers in C
4
5    Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation, either version 3 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
20 /* As a special exception, you may create a larger work that contains
21    part or all of the Bison parser skeleton and distribute that work
22    under terms of your choice, so long as that work isn't itself a
23    parser generator using the skeleton or a modified version thereof
24    as a parser skeleton.  Alternatively, if you modify or redistribute
25    the parser skeleton itself, you may (at your option) remove this
26    special exception, which will cause the skeleton and the resulting
27    Bison output files to be licensed under the GNU General Public
28    License without this special exception.
29
30    This special exception was added by the Free Software Foundation in
31    version 2.2 of Bison.  */
32
33 #ifndef YY_YY_Y_TAB_H_INCLUDED
34 # define YY_YY_Y_TAB_H_INCLUDED
35 /* Debug traces.  */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int yydebug;
41 #endif
42
43 /* Token type.  */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46   enum yytokentype
47   {
48     LABEL = 258,
49     VARIABLE = 259,
50     NUMBER = 260,
51     TEXT = 261,
52     COMMAND_LINE = 262,
53     DELIMITED = 263,
54     ORDINAL = 264,
55     TH = 265,
56     LEFT_ARROW_HEAD = 266,
57     RIGHT_ARROW_HEAD = 267,
58     DOUBLE_ARROW_HEAD = 268,
59     LAST = 269,
60     BOX = 270,
61     CIRCLE = 271,
62     ELLIPSE = 272,
63     ARC = 273,
64     LINE = 274,
65     ARROW = 275,
66     MOVE = 276,
67     SPLINE = 277,
68     HEIGHT = 278,
69     RADIUS = 279,
70     FIGNAME = 280,
71     WIDTH = 281,
72     DIAMETER = 282,
73     UP = 283,
74     DOWN = 284,
75     RIGHT = 285,
76     LEFT = 286,
77     FROM = 287,
78     TO = 288,
79     AT = 289,
80     WITH = 290,
81     BY = 291,
82     THEN = 292,
83     SOLID = 293,
84     DOTTED = 294,
85     DASHED = 295,
86     CHOP = 296,
87     SAME = 297,
88     INVISIBLE = 298,
89     LJUST = 299,
90     RJUST = 300,
91     ABOVE = 301,
92     BELOW = 302,
93     OF = 303,
94     THE = 304,
95     WAY = 305,
96     BETWEEN = 306,
97     AND = 307,
98     HERE = 308,
99     DOT_N = 309,
100     DOT_E = 310,
101     DOT_W = 311,
102     DOT_S = 312,
103     DOT_NE = 313,
104     DOT_SE = 314,
105     DOT_NW = 315,
106     DOT_SW = 316,
107     DOT_C = 317,
108     DOT_START = 318,
109     DOT_END = 319,
110     DOT_X = 320,
111     DOT_Y = 321,
112     DOT_HT = 322,
113     DOT_WID = 323,
114     DOT_RAD = 324,
115     SIN = 325,
116     COS = 326,
117     ATAN2 = 327,
118     LOG = 328,
119     EXP = 329,
120     SQRT = 330,
121     K_MAX = 331,
122     K_MIN = 332,
123     INT = 333,
124     RAND = 334,
125     SRAND = 335,
126     COPY = 336,
127     THRU = 337,
128     TOP = 338,
129     BOTTOM = 339,
130     UPPER = 340,
131     LOWER = 341,
132     SH = 342,
133     PRINT = 343,
134     CW = 344,
135     CCW = 345,
136     FOR = 346,
137     DO = 347,
138     IF = 348,
139     ELSE = 349,
140     ANDAND = 350,
141     OROR = 351,
142     NOTEQUAL = 352,
143     EQUALEQUAL = 353,
144     LESSEQUAL = 354,
145     GREATEREQUAL = 355,
146     LEFT_CORNER = 356,
147     RIGHT_CORNER = 357,
148     NORTH = 358,
149     SOUTH = 359,
150     EAST = 360,
151     WEST = 361,
152     CENTER = 362,
153     END = 363,
154     START = 364,
155     RESET = 365,
156     UNTIL = 366,
157     PLOT = 367,
158     THICKNESS = 368,
159     FILL = 369,
160     COLORED = 370,
161     OUTLINED = 371,
162     SHADED = 372,
163     XSLANTED = 373,
164     YSLANTED = 374,
165     ALIGNED = 375,
166     SPRINTF = 376,
167     COMMAND = 377,
168     DEFINE = 378,
169     UNDEF = 379
170   };
171 #endif
172 /* Tokens.  */
173 #define LABEL 258
174 #define VARIABLE 259
175 #define NUMBER 260
176 #define TEXT 261
177 #define COMMAND_LINE 262
178 #define DELIMITED 263
179 #define ORDINAL 264
180 #define TH 265
181 #define LEFT_ARROW_HEAD 266
182 #define RIGHT_ARROW_HEAD 267
183 #define DOUBLE_ARROW_HEAD 268
184 #define LAST 269
185 #define BOX 270
186 #define CIRCLE 271
187 #define ELLIPSE 272
188 #define ARC 273
189 #define LINE 274
190 #define ARROW 275
191 #define MOVE 276
192 #define SPLINE 277
193 #define HEIGHT 278
194 #define RADIUS 279
195 #define FIGNAME 280
196 #define WIDTH 281
197 #define DIAMETER 282
198 #define UP 283
199 #define DOWN 284
200 #define RIGHT 285
201 #define LEFT 286
202 #define FROM 287
203 #define TO 288
204 #define AT 289
205 #define WITH 290
206 #define BY 291
207 #define THEN 292
208 #define SOLID 293
209 #define DOTTED 294
210 #define DASHED 295
211 #define CHOP 296
212 #define SAME 297
213 #define INVISIBLE 298
214 #define LJUST 299
215 #define RJUST 300
216 #define ABOVE 301
217 #define BELOW 302
218 #define OF 303
219 #define THE 304
220 #define WAY 305
221 #define BETWEEN 306
222 #define AND 307
223 #define HERE 308
224 #define DOT_N 309
225 #define DOT_E 310
226 #define DOT_W 311
227 #define DOT_S 312
228 #define DOT_NE 313
229 #define DOT_SE 314
230 #define DOT_NW 315
231 #define DOT_SW 316
232 #define DOT_C 317
233 #define DOT_START 318
234 #define DOT_END 319
235 #define DOT_X 320
236 #define DOT_Y 321
237 #define DOT_HT 322
238 #define DOT_WID 323
239 #define DOT_RAD 324
240 #define SIN 325
241 #define COS 326
242 #define ATAN2 327
243 #define LOG 328
244 #define EXP 329
245 #define SQRT 330
246 #define K_MAX 331
247 #define K_MIN 332
248 #define INT 333
249 #define RAND 334
250 #define SRAND 335
251 #define COPY 336
252 #define THRU 337
253 #define TOP 338
254 #define BOTTOM 339
255 #define UPPER 340
256 #define LOWER 341
257 #define SH 342
258 #define PRINT 343
259 #define CW 344
260 #define CCW 345
261 #define FOR 346
262 #define DO 347
263 #define IF 348
264 #define ELSE 349
265 #define ANDAND 350
266 #define OROR 351
267 #define NOTEQUAL 352
268 #define EQUALEQUAL 353
269 #define LESSEQUAL 354
270 #define GREATEREQUAL 355
271 #define LEFT_CORNER 356
272 #define RIGHT_CORNER 357
273 #define NORTH 358
274 #define SOUTH 359
275 #define EAST 360
276 #define WEST 361
277 #define CENTER 362
278 #define END 363
279 #define START 364
280 #define RESET 365
281 #define UNTIL 366
282 #define PLOT 367
283 #define THICKNESS 368
284 #define FILL 369
285 #define COLORED 370
286 #define OUTLINED 371
287 #define SHADED 372
288 #define XSLANTED 373
289 #define YSLANTED 374
290 #define ALIGNED 375
291 #define SPRINTF 376
292 #define COMMAND 377
293 #define DEFINE 378
294 #define UNDEF 379
295
296 /* Value type.  */
297 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
298 typedef union YYSTYPE YYSTYPE;
299 union YYSTYPE
300 {
301 #line 65 "pic.y" /* yacc.c:1909  */
302
303         char *str;
304         int n;
305         double x;
306         struct { double x, y; } pair;
307         struct { double x; char *body; } if_data;
308         struct { char *str; const char *filename; int lineno; } lstr;
309         struct { double *v; int nv; int maxv; } dv;
310         struct { double val; int is_multiplicative; } by;
311         place pl;
312         object *obj;
313         corner crn;
314         path *pth;
315         object_spec *spec;
316         saved_state *pstate;
317         graphics_state state;
318         object_type obtype;
319
320 #line 321 "y.tab.h" /* yacc.c:1909  */
321 };
322 # define YYSTYPE_IS_TRIVIAL 1
323 # define YYSTYPE_IS_DECLARED 1
324 #endif
325
326
327 extern YYSTYPE yylval;
328
329 int yyparse (void);
330
331 #endif /* !YY_YY_Y_TAB_H_INCLUDED  */