Debian Codegraph @

texk/web2c/omegafonts/pl-lexer.c

raw
1
2 #line 3 "pl-lexer.c"
3
4 #define YY_INT_ALIGNED short int
5
6 /* A lexical scanner generated by flex */
7
8 #define FLEX_SCANNER
9 #define YY_FLEX_MAJOR_VERSION 2
10 #define YY_FLEX_MINOR_VERSION 6
11 #define YY_FLEX_SUBMINOR_VERSION 0
12 #if YY_FLEX_SUBMINOR_VERSION > 0
13 #define FLEX_BETA
14 #endif
15
16 /* First, we deal with platform-specific or compiler-specific issues. */
17
18 /* begin standard C headers. */
19 #include <stdio.h>
20 #include <string.h>
21 #include <errno.h>
22 #include <stdlib.h>
23
24 /* end standard C headers. */
25
26 /* flex integer type definitions */
27
28 #ifndef FLEXINT_H
29 #define FLEXINT_H
30
31 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
32
33 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
34
35 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
36 * if you want the limit (max/min) macros for int types.
37 */
38 #ifndef __STDC_LIMIT_MACROS
39 #define __STDC_LIMIT_MACROS 1
40 #endif
41
42 #include <inttypes.h>
43 typedef int8_t flex_int8_t;
44 typedef uint8_t flex_uint8_t;
45 typedef int16_t flex_int16_t;
46 typedef uint16_t flex_uint16_t;
47 typedef int32_t flex_int32_t;
48 typedef uint32_t flex_uint32_t;
49 #else
50 typedef signed char flex_int8_t;
51 typedef short int flex_int16_t;
52 typedef int flex_int32_t;
53 typedef unsigned char flex_uint8_t;
54 typedef unsigned short int flex_uint16_t;
55 typedef unsigned int flex_uint32_t;
56
57 /* Limits of integral types. */
58 #ifndef INT8_MIN
59 #define INT8_MIN (-128)
60 #endif
61 #ifndef INT16_MIN
62 #define INT16_MIN (-32767-1)
63 #endif
64 #ifndef INT32_MIN
65 #define INT32_MIN (-2147483647-1)
66 #endif
67 #ifndef INT8_MAX
68 #define INT8_MAX (127)
69 #endif
70 #ifndef INT16_MAX
71 #define INT16_MAX (32767)
72 #endif
73 #ifndef INT32_MAX
74 #define INT32_MAX (2147483647)
75 #endif
76 #ifndef UINT8_MAX
77 #define UINT8_MAX (255U)
78 #endif
79 #ifndef UINT16_MAX
80 #define UINT16_MAX (65535U)
81 #endif
82 #ifndef UINT32_MAX
83 #define UINT32_MAX (4294967295U)
84 #endif
85
86 #endif /* ! C99 */
87
88 #endif /* ! FLEXINT_H */
89
90 #ifdef __cplusplus
91
92 /* The "const" storage-class-modifier is valid. */
93 #define YY_USE_CONST
94
95 #else /* ! __cplusplus */
96
97 /* C99 requires __STDC__ to be defined as 1. */
98 #if defined (__STDC__)
99
100 #define YY_USE_CONST
101
102 #endif /* defined (__STDC__) */
103 #endif /* ! __cplusplus */
104
105 #ifdef YY_USE_CONST
106 #define yyconst const
107 #else
108 #define yyconst
109 #endif
110
111 /* Returned upon end-of-file. */
112 #define YY_NULL 0
113
114 /* Promotes a possibly negative, possibly signed char to an unsigned
115 * integer for use as an array index. If the signed char is negative,
116 * we want to instead treat it as an 8-bit unsigned char, hence the
117 * double cast.
118 */
119 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
120
121 /* Enter a start condition. This macro really ought to take a parameter,
122 * but we do it the disgusting crufty way forced on us by the ()-less
123 * definition of BEGIN.
124 */
125 #define BEGIN (yy_start) = 1 + 2 *
126
127 /* Translate the current start state into a value that can be later handed
128 * to BEGIN to return to the state. The YYSTATE alias is for lex
129 * compatibility.
130 */
131 #define YY_START (((yy_start) - 1) / 2)
132 #define YYSTATE YY_START
133
134 /* Action number for EOF rule of a given start state. */
135 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
136
137 /* Special action meaning "start processing a new file". */
138 #define YY_NEW_FILE yyrestart(yyin )
139
140 #define YY_END_OF_BUFFER_CHAR 0
141
142 /* Size of default input buffer. */
143 #ifndef YY_BUF_SIZE
144 #ifdef __ia64__
145 /* On IA-64, the buffer size is 16k, not 8k.
146 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
147 * Ditto for the __ia64__ case accordingly.
148 */
149 #define YY_BUF_SIZE 32768
150 #else
151 #define YY_BUF_SIZE 16384
152 #endif /* __ia64__ */
153 #endif
154
155 /* The state buf must be large enough to hold one state per character in the main buffer.
156 */
157 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
158
159 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
160 #define YY_TYPEDEF_YY_BUFFER_STATE
161 typedef struct yy_buffer_state *YY_BUFFER_STATE;
162 #endif
163
164 #ifndef YY_TYPEDEF_YY_SIZE_T
165 #define YY_TYPEDEF_YY_SIZE_T
166 typedef size_t yy_size_t;
167 #endif
168
169 extern yy_size_t yyleng;
170
171 extern FILE *yyin, *yyout;
172
173 #define EOB_ACT_CONTINUE_SCAN 0
174 #define EOB_ACT_END_OF_FILE 1
175 #define EOB_ACT_LAST_MATCH 2
176
177 /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires
178 * access to the local variable yy_act. Since yyless() is a macro, it would break
179 * existing scanners that call yyless() from OUTSIDE yylex.
180 * One obvious solution it to make yy_act a global. I tried that, and saw
181 * a 5% performance hit in a non-yylineno scanner, because yy_act is
182 * normally declared as a register variable-- so it is not worth it.
183 */
184 #define YY_LESS_LINENO(n) \
185 do { \
186 int yyl;\
187 for ( yyl = n; yyl < yyleng; ++yyl )\
188 if ( yytext[yyl] == '\n' )\
189 --yylineno;\
190 }while(0)
191 #define YY_LINENO_REWIND_TO(dst) \
192 do {\
193 const char *p;\
194 for ( p = yy_cp-1; p >= (dst); --p)\
195 if ( *p == '\n' )\
196 --yylineno;\
197 }while(0)
198
199 /* Return all but the first "n" matched characters back to the input stream. */
200 #define yyless(n) \
201 do \
202 { \
203 /* Undo effects of setting up yytext. */ \
204 int yyless_macro_arg = (n); \
205 YY_LESS_LINENO(yyless_macro_arg);\
206 *yy_cp = (yy_hold_char); \
207 YY_RESTORE_YY_MORE_OFFSET \
208 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
209 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
210 } \
211 while ( 0 )
212
213 #define unput(c) yyunput( c, (yytext_ptr) )
214
215 #ifndef YY_STRUCT_YY_BUFFER_STATE
216 #define YY_STRUCT_YY_BUFFER_STATE
217 struct yy_buffer_state
218 {
219 FILE *yy_input_file;
220
221 char *yy_ch_buf; /* input buffer */
222 char *yy_buf_pos; /* current position in input buffer */
223
224 /* Size of input buffer in bytes, not including room for EOB
225 * characters.
226 */
227 yy_size_t yy_buf_size;
228
229 /* Number of characters read into yy_ch_buf, not including EOB
230 * characters.
231 */
232 yy_size_t yy_n_chars;
233
234 /* Whether we "own" the buffer - i.e., we know we created it,
235 * and can realloc() it to grow it, and should free() it to
236 * delete it.
237 */
238 int yy_is_our_buffer;
239
240 /* Whether this is an "interactive" input source; if so, and
241 * if we're using stdio for input, then we want to use getc()
242 * instead of fread(), to make sure we stop fetching input after
243 * each newline.
244 */
245 int yy_is_interactive;
246
247 /* Whether we're considered to be at the beginning of a line.
248 * If so, '^' rules will be active on the next match, otherwise
249 * not.
250 */
251 int yy_at_bol;
252
253 int yy_bs_lineno; /**< The line count. */
254 int yy_bs_column; /**< The column count. */
255
256 /* Whether to try to fill the input buffer when we reach the
257 * end of it.
258 */
259 int yy_fill_buffer;
260
261 int yy_buffer_status;
262
263 #define YY_BUFFER_NEW 0
264 #define YY_BUFFER_NORMAL 1
265 /* When an EOF's been seen but there's still some text to process
266 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
267 * shouldn't try reading from the input source any more. We might
268 * still have a bunch of tokens to match, though, because of
269 * possible backing-up.
270 *
271 * When we actually see the EOF, we change the status to "new"
272 * (via yyrestart()), so that the user can continue scanning by
273 * just pointing yyin at a new input file.
274 */
275 #define YY_BUFFER_EOF_PENDING 2
276
277 };
278 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
279
280 /* Stack of input buffers. */
281 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
282 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
283 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
284
285 /* We provide macros for accessing buffer states in case in the
286 * future we want to put the buffer states in a more general
287 * "scanner state".
288 *
289 * Returns the top of the stack, or NULL.
290 */
291 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
292 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
293 : NULL)
294
295 /* Same as previous macro, but useful when we know that the buffer stack is not
296 * NULL or when we need an lvalue. For internal use only.
297 */
298 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
299
300 /* yy_hold_char holds the character lost when yytext is formed. */
301 static char yy_hold_char;
302 static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
303 yy_size_t yyleng;
304
305 /* Points to current character in buffer. */
306 static char *yy_c_buf_p = (char *) 0;
307 static int yy_init = 0; /* whether we need to initialize */
308 static int yy_start = 0; /* start state number */
309
310 /* Flag which is used to allow yywrap()'s to do buffer switches
311 * instead of setting up a fresh yyin. A bit of a hack ...
312 */
313 static int yy_did_buffer_switch_on_eof;
314
315 void yyrestart (FILE *input_file );
316 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
317 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
318 void yy_delete_buffer (YY_BUFFER_STATE b );
319 void yy_flush_buffer (YY_BUFFER_STATE b );
320 void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
321 void yypop_buffer_state (void );
322
323 static void yyensure_buffer_stack (void );
324 static void yy_load_buffer_state (void );
325 static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
326
327 #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
328
329 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
330 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
331 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
332
333 void *yyalloc (yy_size_t );
334 void *yyrealloc (void *,yy_size_t );
335 void yyfree (void * );
336
337 #define yy_new_buffer yy_create_buffer
338
339 #define yy_set_interactive(is_interactive) \
340 { \
341 if ( ! YY_CURRENT_BUFFER ){ \
342 yyensure_buffer_stack (); \
343 YY_CURRENT_BUFFER_LVALUE = \
344 yy_create_buffer(yyin,YY_BUF_SIZE ); \
345 } \
346 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
347 }
348
349 #define yy_set_bol(at_bol) \
350 { \
351 if ( ! YY_CURRENT_BUFFER ){\
352 yyensure_buffer_stack (); \
353 YY_CURRENT_BUFFER_LVALUE = \
354 yy_create_buffer(yyin,YY_BUF_SIZE ); \
355 } \
356 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
357 }
358
359 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
360
361 /* Begin user sect3 */
362
363 typedef unsigned char YY_CHAR;
364
365 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
366
367 typedef int yy_state_type;
368
369 #define YY_FLEX_LEX_COMPAT
370 extern int yylineno;
371
372 int yylineno = 1;
373
374 extern char yytext[];
375
376 static yy_state_type yy_get_previous_state (void );
377 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
378 static int yy_get_next_buffer (void );
379 #if defined(__GNUC__) && __GNUC__ >= 3
380 __attribute__((__noreturn__))
381 #endif
382 static void yy_fatal_error (yyconst char msg[] );
383
384 /* Done after the current pattern has been matched and before the
385 * corresponding action - sets up yytext.
386 */
387 #define YY_DO_BEFORE_ACTION \
388 (yytext_ptr) = yy_bp; \
389 yyleng = (size_t) (yy_cp - yy_bp); \
390 (yy_hold_char) = *yy_cp; \
391 *yy_cp = '\0'; \
392 if ( yyleng >= YYLMAX ) \
393 YY_FATAL_ERROR( "token too large, exceeds YYLMAX" ); \
394 yy_flex_strncpy( yytext, (yytext_ptr), yyleng + 1 ); \
395 (yy_c_buf_p) = yy_cp;
396
397 #define YY_NUM_RULES 205
398 #define YY_END_OF_BUFFER 206
399 /* This struct is not used in this scanner,
400 but its presence is necessary. */
401 struct yy_trans_info
402 {
403 flex_int32_t yy_verify;
404 flex_int32_t yy_nxt;
405 };
406 static yyconst flex_int16_t yy_acclist[265] =
407 { 0,
408 206, 204, 205, 1, 204, 205, 2, 205, 3, 204,
409 205, 4, 204, 205, 204, 205, 204, 205, 204, 205,
410 204, 205, 204, 205, 204, 205, 204, 205, 204, 205,
411 204, 205, 204, 205, 204, 205, 204, 205, 204, 205,
412 204, 205, 204, 205, 204, 205, 204, 205, 204, 205,
413 204, 205, 204, 205, 204, 205, 204, 205, 204, 205,
414 1, 180, 9, 42, 8, 8, 6, 179, 7, 31,
415 44, 102, 41, 5, 107, 9, 9, 43, 40, 46,
416 171, 23, 178, 151, 45, 77, 78, 79, 106, 75,
417 9, 150, 33, 32, 85, 86, 82, 83, 84, 181,
418
419 47, 49, 172, 61, 67, 55, 60, 66, 54, 63,
420 69, 57, 62, 68, 56, 59, 65, 53, 58, 64,
421 52, 177, 30, 48, 188, 187, 189, 186, 70, 71,
422 50, 38, 37, 39, 36, 175, 89, 90, 80, 81,
423 11, 100, 147, 159, 24, 146, 110, 148, 182, 158,
424 157, 156, 73, 12, 51, 16, 98, 149, 104, 105,
425 15, 72, 88, 87, 35, 74, 183, 170, 169, 20,
426 184, 173, 174, 14, 145, 13, 144, 164, 163, 162,
427 27, 111, 109, 112, 185, 115, 28, 26, 101, 153,
428 152, 114, 108, 154, 29, 201, 113, 91, 166, 165,
429
430 167, 176, 21, 76, 120, 122, 119, 117, 123, 121,
431 116, 118, 141, 140, 142, 161, 34, 155, 194, 199,
432 202, 197, 103, 17, 168, 22, 143, 160, 136, 138,
433 135, 133, 139, 137, 132, 134, 192, 195, 190, 25,
434 10, 99, 203, 93, 94, 95, 96, 97, 196, 200,
435 198, 193, 191, 128, 130, 127, 125, 131, 129, 124,
436 126, 92, 18, 19
437 } ;
438
439 static yyconst flex_int16_t yy_accept[801] =
440 { 0,
441 1, 1, 1, 2, 4, 7, 9, 12, 15, 17,
442 19, 21, 23, 25, 27, 29, 31, 33, 35, 37,
443 39, 41, 43, 45, 47, 49, 51, 53, 55, 57,
444 59, 61, 62, 62, 62, 62, 62, 62, 62, 62,
445 62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
446 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
447 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
448 63, 63, 63, 63, 63, 63, 63, 64, 64, 64,
449 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
450 64, 64, 64, 64, 64, 64, 64, 65, 65, 66,
451
452 67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
453 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
454 68, 69, 69, 69, 69, 70, 70, 70, 71, 71,
455 72, 73, 74, 74, 74, 74, 74, 74, 74, 74,
456 75, 75, 75, 75, 76, 76, 76, 76, 77, 78,
457 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
458 79, 79, 79, 79, 79, 80, 80, 80, 80, 80,
459 80, 81, 81, 81, 81, 81, 81, 81, 81, 81,
460 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
461 82, 82, 82, 82, 82, 82, 82, 83, 83, 84,
462
463 84, 84, 85, 85, 85, 85, 86, 86, 86, 86,
464 86, 86, 86, 86, 86, 86, 87, 88, 89, 89,
465 89, 89, 89, 90, 91, 92, 93, 93, 93, 93,
466 93, 93, 93, 93, 93, 93, 93, 93, 93, 94,
467 94, 94, 94, 95, 95, 96, 97, 97, 98, 99,
468 100, 100, 100, 101, 101, 101, 101, 101, 102, 103,
469 103, 103, 103, 103, 103, 104, 104, 104, 104, 104,
470 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
471 104, 104, 104, 104, 104, 104, 104, 104, 105, 106,
472 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
473
474 117, 118, 119, 120, 121, 122, 122, 123, 123, 123,
475 123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
476 123, 123, 123, 123, 123, 123, 124, 125, 125, 125,
477 125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
478 125, 125, 125, 125, 125, 125, 125, 125, 125, 125,
479 125, 126, 127, 128, 128, 128, 129, 129, 129, 129,
480 129, 129, 130, 131, 131, 131, 131, 131, 131, 131,
481 131, 131, 131, 132, 132, 132, 132, 132, 132, 132,
482 133, 133, 133, 134, 135, 135, 135, 135, 135, 135,
483 136, 136, 137, 137, 137, 137, 137, 137, 137, 138,
484
485 139, 140, 141, 141, 141, 142, 142, 143, 143, 143,
486 143, 143, 143, 143, 143, 143, 143, 143, 144, 144,
487 144, 144, 144, 144, 145, 146, 147, 147, 147, 147,
488 147, 147, 147, 148, 149, 149, 149, 149, 150, 150,
489 150, 150, 150, 150, 150, 150, 151, 152, 153, 153,
490 153, 153, 153, 153, 153, 153, 153, 154, 154, 154,
491 154, 154, 154, 154, 155, 155, 155, 156, 156, 156,
492 156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
493 156, 156, 156, 156, 157, 157, 157, 157, 157, 157,
494 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
495
496 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
497 157, 158, 158, 158, 158, 158, 158, 158, 158, 158,
498 158, 158, 159, 159, 159, 159, 159, 159, 159, 159,
499 159, 159, 159, 160, 161, 161, 162, 163, 164, 165,
500 165, 166, 167, 167, 168, 168, 168, 168, 168, 168,
501 168, 169, 169, 169, 169, 169, 170, 171, 172, 172,
502 173, 174, 174, 174, 174, 174, 175, 175, 175, 175,
503 175, 175, 176, 176, 176, 177, 177, 178, 178, 179,
504 180, 180, 180, 181, 181, 182, 182, 183, 184, 184,
505 184, 184, 184, 184, 185, 185, 185, 185, 185, 185,
506
507 185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
508 185, 186, 186, 186, 187, 187, 188, 188, 188, 188,
509 188, 188, 188, 188, 188, 188, 188, 188, 189, 189,
510 189, 189, 189, 190, 190, 190, 190, 190, 191, 191,
511 191, 192, 193, 194, 195, 195, 195, 195, 196, 196,
512 196, 196, 196, 196, 196, 196, 196, 197, 197, 197,
513 197, 197, 197, 198, 199, 199, 199, 200, 201, 202,
514 202, 203, 203, 203, 204, 204, 205, 205, 206, 207,
515 208, 209, 210, 211, 212, 213, 214, 215, 216, 216,
516 217, 217, 217, 218, 218, 218, 218, 218, 219, 219,
517
518 219, 220, 220, 220, 220, 221, 222, 223, 224, 224,
519 225, 225, 225, 226, 226, 226, 227, 227, 228, 229,
520 229, 230, 231, 232, 233, 234, 235, 236, 237, 237,
521 238, 239, 240, 240, 240, 240, 240, 240, 241, 242,
522 242, 243, 243, 243, 243, 243, 244, 244, 244, 244,
523 245, 246, 247, 248, 249, 249, 249, 250, 250, 250,
524 251, 252, 252, 252, 252, 253, 254, 254, 254, 254,
525 254, 254, 254, 254, 254, 254, 254, 254, 255, 256,
526 257, 258, 259, 260, 261, 262, 262, 262, 262, 262,
527 262, 262, 262, 263, 263, 263, 263, 264, 265, 265
528
529 } ;
530
531 static yyconst YY_CHAR yy_ec[256] =
532 { 0,
533 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
534 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
535 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
536 1, 2, 1, 1, 1, 1, 1, 1, 1, 4,
537 5, 1, 6, 1, 6, 7, 8, 9, 10, 11,
538 12, 13, 14, 9, 9, 15, 15, 1, 1, 1,
539 1, 16, 1, 1, 17, 18, 19, 20, 21, 22,
540 23, 24, 25, 1, 26, 27, 28, 29, 30, 31,
541 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
542 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
543
544 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
545 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
546 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
547 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
548 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
549 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
550 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
551 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
552 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
553 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
554
555 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
556 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
557 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
558 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
559 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
560 1, 1, 1, 1, 1
561 } ;
562
563 static yyconst YY_CHAR yy_meta[42] =
564 { 0,
565 1, 2, 3, 1, 1, 4, 4, 1, 5, 5,
566 5, 5, 5, 5, 6, 1, 7, 7, 7, 7,
567 7, 7, 1, 1, 1, 1, 1, 1, 1, 1,
568 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
569 1
570 } ;
571
572 static yyconst flex_uint16_t yy_base[806] =
573 { 0,
574 0, 0, 848, 849, 845, 849, 849, 849, 819, 15,
575 18, 53, 42, 806, 44, 817, 43, 806, 809, 32,
576 35, 65, 45, 72, 805, 64, 88, 810, 810, 33,
577 29, 836, 812, 815, 810, 811, 23, 831, 805, 54,
578 798, 71, 70, 809, 827, 77, 793, 89, 75, 800,
579 797, 808, 788, 821, 805, 804, 791, 801, 795, 786,
580 796, 778, 797, 778, 773, 781, 777, 781, 806, 779,
581 773, 776, 773, 778, 768, 784, 119, 769, 772, 101,
582 765, 772, 779, 101, 80, 109, 764, 769, 760, 767,
583 770, 769, 766, 771, 753, 756, 768, 755, 849, 781,
584
585 746, 748, 761, 750, 760, 760, 751, 747, 745, 771,
586 755, 746, 740, 744, 735, 104, 106, 108, 746, 741,
587 738, 729, 736, 741, 759, 740, 732, 849, 737, 43,
588 735, 739, 734, 727, 717, 717, 722, 722, 132, 136,
589 722, 731, 730, 849, 718, 721, 724, 0, 128, 849,
590 722, 133, 721, 133, 720, 715, 708, 709, 718, 717,
591 704, 713, 144, 162, 716, 697, 712, 695, 704, 711,
592 151, 707, 702, 694, 705, 703, 701, 166, 695, 849,
593 699, 699, 689, 696, 139, 680, 687, 686, 690, 695,
594 144, 159, 160, 177, 181, 182, 849, 684, 683, 199,
595
596 673, 201, 687, 671, 679, 689, 687, 673, 683, 211,
597 665, 667, 672, 663, 680, 849, 849, 849, 675, 667,
598 667, 177, 849, 849, 0, 187, 196, 662, 657, 672,
599 665, 659, 668, 668, 662, 649, 655, 654, 849, 647,
600 660, 655, 849, 644, 849, 849, 645, 849, 849, 849,
601 644, 657, 849, 651, 647, 650, 652, 655, 849, 649,
602 648, 634, 648, 649, 849, 646, 633, 626, 635, 626,
603 150, 623, 638, 139, 638, 623, 629, 634, 631, 624,
604 625, 624, 623, 86, 174, 620, 614, 849, 849, 849,
605 849, 849, 849, 849, 849, 849, 849, 849, 849, 849,
606
607 849, 849, 849, 849, 849, 607, 849, 173, 622, 208,
608 608, 617, 606, 605, 624, 619, 603, 617, 613, 600,
609 38, 595, 614, 600, 611, 849, 849, 613, 601, 610,
610 598, 606, 601, 594, 603, 606, 605, 601, 593, 582,
611 597, 582, 220, 591, 585, 583, 578, 592, 577, 575,
612 849, 849, 849, 589, 577, 849, 572, 589, 578, 586,
613 577, 849, 849, 585, 582, 570, 569, 579, 580, 575,
614 571, 573, 577, 559, 566, 559, 568, 555, 552, 849,
615 569, 549, 849, 849, 567, 566, 553, 550, 553, 849,
616 543, 849, 545, 543, 541, 540, 538, 538, 849, 849,
617
618 849, 849, 207, 541, 849, 550, 849, 549, 212, 544,
619 551, 531, 549, 548, 536, 534, 535, 524, 543, 532,
620 525, 524, 525, 849, 849, 518, 527, 518, 531, 513,
621 528, 526, 849, 511, 520, 513, 520, 849, 523, 508,
622 502, 507, 505, 519, 507, 849, 849, 849, 516, 519,
623 222, 518, 512, 500, 511, 506, 849, 503, 505, 497,
624 496, 505, 492, 849, 489, 490, 849, 488, 498, 503,
625 490, 478, 496, 489, 494, 487, 486, 495, 490, 489,
626 481, 474, 488, 849, 466, 484, 471, 478, 473, 484,
627 483, 480, 477, 495, 455, 468, 473, 466, 465, 470,
628
629 473, 468, 471, 454, 465, 460, 463, 462, 465, 460,
630 849, 451, 450, 443, 453, 459, 453, 451, 440, 445,
631 450, 433, 448, 451, 224, 450, 432, 426, 434, 442,
632 423, 431, 849, 849, 425, 435, 849, 849, 849, 429,
633 849, 849, 423, 849, 432, 436, 419, 434, 419, 415,
634 849, 414, 413, 421, 430, 849, 849, 849, 422, 849,
635 849, 409, 403, 418, 423, 849, 415, 411, 247, 418,
636 402, 849, 401, 400, 849, 408, 849, 407, 849, 849,
637 404, 397, 849, 404, 849, 395, 849, 849, 394, 401,
638 397, 405, 423, 849, 391, 406, 388, 382, 390, 398,
639
640 379, 390, 391, 382, 381, 388, 383, 377, 389, 374,
641 849, 373, 382, 849, 382, 849, 384, 383, 382, 367,
642 366, 379, 372, 377, 362, 375, 361, 849, 143, 233,
643 234, 190, 849, 373, 372, 371, 356, 849, 364, 370,
644 849, 849, 849, 849, 359, 354, 252, 849, 359, 358,
645 359, 350, 349, 356, 363, 345, 849, 343, 343, 341,
646 358, 335, 849, 849, 344, 350, 849, 849, 849, 324,
647 849, 335, 337, 849, 323, 849, 317, 849, 849, 849,
648 849, 849, 849, 849, 849, 849, 849, 849, 312, 849,
649 322, 307, 849, 229, 237, 240, 230, 849, 324, 306,
650
651 849, 304, 304, 308, 318, 849, 317, 849, 312, 849,
652 309, 296, 849, 307, 292, 849, 298, 849, 849, 304,
653 849, 849, 849, 849, 849, 849, 849, 849, 103, 191,
654 849, 211, 218, 235, 239, 245, 278, 849, 849, 243,
655 849, 246, 238, 251, 252, 849, 244, 247, 261, 849,
656 849, 849, 849, 849, 259, 253, 849, 259, 260, 849,
657 849, 268, 277, 295, 849, 849, 281, 273, 298, 278,
658 273, 276, 286, 287, 279, 305, 287, 849, 849, 849,
659 849, 849, 849, 849, 849, 308, 277, 296, 281, 281,
660 290, 282, 849, 285, 299, 302, 849, 849, 849, 343,
661
662 349, 354, 360, 364, 366
663 } ;
664
665 static yyconst flex_int16_t yy_def[806] =
666 { 0,
667 799, 1, 799, 799, 799, 799, 799, 799, 799, 799,
668 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
669 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
670 799, 799, 799, 799, 799, 799, 799, 800, 799, 799,
671 799, 799, 799, 799, 801, 799, 799, 799, 799, 799,
672 799, 799, 799, 802, 799, 799, 799, 799, 799, 799,
673 799, 799, 799, 799, 799, 799, 799, 799, 803, 799,
674 799, 799, 799, 799, 799, 799, 804, 799, 799, 799,
675 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
676 799, 799, 799, 799, 799, 799, 799, 799, 799, 800,
677
678 799, 799, 799, 799, 799, 799, 799, 799, 799, 801,
679 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
680 799, 799, 799, 799, 802, 799, 799, 799, 799, 799,
681 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
682 799, 799, 799, 799, 799, 799, 799, 805, 804, 799,
683 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
684 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
685 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
686 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
687 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
688
689 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
690 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
691 799, 799, 799, 799, 805, 799, 799, 799, 799, 799,
692 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
693 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
694 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
695 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
696 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
697 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
698 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
699
700 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
701 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
702 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
703 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
704 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
705 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
706 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
707 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
708 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
709 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
710
711 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
712 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
713 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
714 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
715 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
716 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
717 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
718 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
719 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
720 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
721
722 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
723 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
724 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
725 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
726 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
727 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
728 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
729 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
730 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
731 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
732
733 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
734 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
735 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
736 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
737 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
738 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
739 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
740 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
741 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
742 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
743
744 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
745 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
746 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
747 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
748 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
749 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
750 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
751 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
752 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
753 799, 799, 799, 799, 799, 799, 799, 799, 0, 799,
754
755 799, 799, 799, 799, 799
756 } ;
757
758 static yyconst flex_uint16_t yy_nxt[891] =
759 { 0,
760 4, 5, 6, 7, 8, 4, 4, 9, 4, 4,
761 4, 4, 4, 4, 4, 4, 10, 11, 12, 13,
762 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
763 24, 25, 26, 27, 28, 29, 30, 4, 31, 4,
764 4, 34, 36, 45, 54, 48, 69, 37, 58, 89,
765 206, 60, 91, 35, 38, 92, 59, 97, 98, 61,
766 49, 421, 46, 55, 62, 77, 70, 90, 50, 77,
767 102, 63, 422, 51, 103, 39, 40, 207, 41, 42,
768 52, 64, 43, 44, 78, 65, 66, 105, 71, 107,
769 48, 106, 72, 119, 67, 399, 400, 108, 111, 79,
770
771 68, 73, 120, 112, 74, 113, 116, 75, 80, 161,
772 114, 81, 162, 82, 83, 117, 118, 159, 84, 152,
773 77, 160, 85, 86, 77, 148, 163, 153, 191, 799,
774 193, 743, 195, 799, 148, 154, 192, 155, 194, 164,
775 196, 216, 217, 218, 140, 140, 140, 140, 140, 140,
776 227, 235, 228, 245, 246, 281, 229, 230, 258, 388,
777 231, 282, 288, 247, 289, 236, 259, 232, 384, 678,
778 233, 248, 249, 250, 389, 679, 290, 291, 294, 292,
779 295, 251, 266, 401, 402, 267, 385, 268, 269, 270,
780 271, 293, 296, 272, 343, 297, 273, 298, 274, 300,
781
782 303, 301, 304, 275, 344, 406, 346, 407, 744, 299,
783 347, 345, 349, 302, 305, 308, 684, 309, 310, 319,
784 311, 312, 685, 313, 348, 350, 314, 315, 745, 316,
785 331, 317, 409, 320, 321, 322, 442, 332, 323, 493,
786 488, 410, 489, 333, 494, 529, 334, 599, 569, 443,
787 680, 682, 746, 647, 723, 721, 727, 725, 530, 747,
788 600, 722, 728, 748, 629, 749, 755, 681, 683, 694,
789 756, 724, 757, 630, 726, 758, 759, 760, 695, 631,
790 761, 632, 762, 763, 696, 764, 697, 750, 751, 752,
791 753, 754, 765, 766, 767, 768, 769, 770, 771, 769,
792
793 776, 777, 778, 780, 782, 784, 786, 787, 779, 786,
794 790, 785, 791, 792, 793, 772, 794, 795, 796, 797,
795 781, 783, 798, 742, 773, 741, 740, 739, 738, 788,
796 774, 737, 775, 736, 735, 734, 733, 732, 731, 730,
797 729, 720, 789, 99, 99, 719, 99, 99, 99, 99,
798 110, 718, 717, 110, 110, 125, 716, 715, 125, 125,
799 125, 140, 714, 713, 140, 149, 712, 149, 149, 149,
800 225, 225, 711, 710, 709, 708, 707, 706, 705, 704,
801 703, 702, 701, 700, 699, 698, 693, 692, 691, 690,
802 689, 688, 687, 686, 677, 676, 675, 674, 673, 672,
803
804 671, 670, 669, 668, 667, 666, 665, 664, 663, 662,
805 661, 660, 659, 658, 657, 656, 655, 654, 653, 652,
806 651, 650, 649, 648, 647, 646, 645, 644, 643, 642,
807 641, 640, 639, 638, 637, 636, 635, 634, 633, 628,
808 627, 626, 625, 624, 623, 622, 621, 620, 619, 618,
809 617, 616, 615, 614, 613, 612, 611, 610, 609, 608,
810 607, 606, 605, 604, 603, 602, 601, 598, 597, 596,
811 595, 594, 593, 592, 591, 590, 589, 588, 587, 586,
812 585, 584, 583, 582, 581, 580, 579, 578, 577, 576,
813 575, 574, 573, 572, 571, 570, 569, 568, 567, 566,
814
815 565, 564, 563, 562, 561, 560, 559, 558, 557, 556,
816 555, 554, 553, 552, 551, 550, 549, 548, 547, 546,
817 545, 544, 543, 542, 541, 540, 539, 538, 537, 536,
818 535, 534, 533, 532, 531, 528, 527, 526, 525, 524,
819 523, 522, 521, 520, 519, 518, 517, 516, 515, 514,
820 513, 512, 511, 510, 509, 508, 507, 506, 505, 504,
821 503, 502, 501, 500, 499, 498, 497, 496, 495, 492,
822 491, 490, 487, 486, 485, 484, 483, 482, 481, 480,
823 479, 478, 477, 476, 475, 474, 473, 472, 471, 470,
824 469, 468, 467, 466, 465, 464, 463, 462, 461, 460,
825
826 459, 458, 457, 456, 455, 454, 453, 452, 451, 450,
827 449, 448, 447, 446, 445, 444, 441, 440, 439, 438,
828 437, 436, 435, 434, 433, 432, 431, 430, 429, 428,
829 427, 426, 425, 424, 423, 420, 419, 418, 417, 416,
830 415, 414, 413, 412, 411, 408, 405, 404, 403, 398,
831 397, 396, 395, 394, 393, 392, 391, 390, 387, 386,
832 383, 382, 381, 380, 379, 378, 377, 376, 375, 374,
833 373, 372, 371, 370, 369, 368, 367, 366, 365, 364,
834 363, 362, 361, 360, 359, 358, 357, 356, 355, 354,
835 353, 352, 351, 342, 341, 340, 339, 338, 337, 336,
836
837 335, 330, 329, 328, 327, 326, 325, 324, 318, 307,
838 306, 287, 286, 285, 284, 283, 280, 279, 278, 277,
839 276, 265, 264, 263, 262, 261, 260, 257, 256, 255,
840 254, 253, 252, 244, 243, 242, 241, 240, 239, 238,
841 237, 234, 226, 224, 223, 222, 221, 220, 219, 215,
842 214, 213, 212, 211, 210, 209, 208, 205, 204, 203,
843 799, 202, 201, 200, 199, 198, 197, 190, 189, 188,
844 187, 186, 799, 185, 184, 183, 182, 181, 180, 179,
845 178, 177, 100, 176, 175, 174, 173, 172, 171, 170,
846 169, 168, 167, 166, 165, 158, 157, 156, 151, 150,
847
848 147, 146, 145, 144, 143, 142, 141, 69, 139, 138,
849 137, 136, 135, 134, 133, 132, 131, 130, 129, 128,
850 127, 126, 54, 124, 123, 122, 121, 115, 45, 109,
851 104, 101, 100, 96, 95, 94, 93, 32, 88, 87,
852 76, 57, 56, 53, 47, 33, 32, 799, 3, 799,
853 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
854 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
855 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
856 799, 799, 799, 799, 799, 799, 799, 799, 799, 799
857 } ;
858
859 static yyconst flex_int16_t yy_chk[891] =
860 { 0,
861 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
862 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
863 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
864 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
865 1, 10, 11, 13, 17, 15, 23, 11, 20, 30,
866 130, 21, 31, 10, 12, 31, 20, 37, 37, 21,
867 15, 321, 13, 17, 21, 26, 23, 30, 15, 26,
868 40, 21, 321, 15, 40, 12, 12, 130, 12, 12,
869 15, 22, 12, 12, 26, 22, 22, 42, 24, 43,
870 48, 42, 24, 49, 22, 284, 284, 43, 46, 26,
871
872 22, 24, 49, 46, 24, 46, 48, 24, 27, 85,
873 46, 27, 85, 27, 27, 48, 48, 84, 27, 80,
874 77, 84, 27, 27, 77, 77, 86, 80, 116, 149,
875 117, 729, 118, 149, 149, 80, 116, 80, 117, 86,
876 118, 139, 139, 139, 140, 140, 140, 140, 140, 140,
877 152, 154, 152, 163, 163, 185, 152, 152, 171, 274,
878 152, 185, 191, 163, 191, 154, 171, 152, 271, 629,
879 152, 164, 164, 164, 274, 629, 191, 192, 193, 192,
880 193, 164, 178, 285, 285, 178, 271, 178, 178, 178,
881 178, 192, 193, 178, 222, 194, 178, 194, 178, 195,
882
883 196, 195, 196, 178, 222, 308, 226, 308, 730, 194,
884 226, 222, 227, 195, 196, 200, 632, 200, 200, 202,
885 200, 200, 632, 200, 226, 227, 200, 200, 732, 200,
886 210, 200, 310, 202, 202, 202, 343, 210, 202, 409,
887 403, 310, 403, 210, 409, 451, 210, 525, 569, 343,
888 630, 631, 733, 647, 695, 694, 697, 696, 451, 734,
889 525, 694, 697, 735, 569, 736, 740, 630, 631, 647,
890 742, 695, 743, 569, 696, 744, 745, 747, 647, 569,
891 748, 569, 749, 755, 647, 756, 647, 737, 737, 737,
892 737, 737, 758, 759, 762, 763, 764, 767, 768, 769,
893
894 770, 771, 772, 773, 774, 775, 776, 777, 772, 786,
895 787, 775, 788, 789, 790, 769, 791, 792, 794, 795,
896 773, 774, 796, 720, 769, 717, 715, 714, 712, 786,
897 769, 711, 769, 709, 707, 705, 704, 703, 702, 700,
898 699, 692, 786, 800, 800, 691, 800, 800, 800, 800,
899 801, 689, 677, 801, 801, 802, 675, 673, 802, 802,
900 802, 803, 672, 670, 803, 804, 666, 804, 804, 804,
901 805, 805, 665, 662, 661, 660, 659, 658, 656, 655,
902 654, 653, 652, 651, 650, 649, 646, 645, 640, 639,
903 637, 636, 635, 634, 627, 626, 625, 624, 623, 622,
904
905 621, 620, 619, 618, 617, 615, 613, 612, 610, 609,
906 608, 607, 606, 605, 604, 603, 602, 601, 600, 599,
907 598, 597, 596, 595, 593, 592, 591, 590, 589, 586,
908 584, 582, 581, 578, 576, 574, 573, 571, 570, 568,
909 567, 565, 564, 563, 562, 559, 555, 554, 553, 552,
910 550, 549, 548, 547, 546, 545, 543, 540, 536, 535,
911 532, 531, 530, 529, 528, 527, 526, 524, 523, 522,
912 521, 520, 519, 518, 517, 516, 515, 514, 513, 512,
913 510, 509, 508, 507, 506, 505, 504, 503, 502, 501,
914 500, 499, 498, 497, 496, 495, 494, 493, 492, 491,
915
916 490, 489, 488, 487, 486, 485, 483, 482, 481, 480,
917 479, 478, 477, 476, 475, 474, 473, 472, 471, 470,
918 469, 468, 466, 465, 463, 462, 461, 460, 459, 458,
919 456, 455, 454, 453, 452, 450, 449, 445, 444, 443,
920 442, 441, 440, 439, 437, 436, 435, 434, 432, 431,
921 430, 429, 428, 427, 426, 423, 422, 421, 420, 419,
922 418, 417, 416, 415, 414, 413, 412, 411, 410, 408,
923 406, 404, 398, 397, 396, 395, 394, 393, 391, 389,
924 388, 387, 386, 385, 382, 381, 379, 378, 377, 376,
925 375, 374, 373, 372, 371, 370, 369, 368, 367, 366,
926
927 365, 364, 361, 360, 359, 358, 357, 355, 354, 350,
928 349, 348, 347, 346, 345, 344, 342, 341, 340, 339,
929 338, 337, 336, 335, 334, 333, 332, 331, 330, 329,
930 328, 325, 324, 323, 322, 320, 319, 318, 317, 316,
931 315, 314, 313, 312, 311, 309, 306, 287, 286, 283,
932 282, 281, 280, 279, 278, 277, 276, 275, 273, 272,
933 270, 269, 268, 267, 266, 264, 263, 262, 261, 260,
934 258, 257, 256, 255, 254, 252, 251, 247, 244, 242,
935 241, 240, 238, 237, 236, 235, 234, 233, 232, 231,
936 230, 229, 228, 221, 220, 219, 215, 214, 213, 212,
937
938 211, 209, 208, 207, 206, 205, 204, 203, 201, 199,
939 198, 190, 189, 188, 187, 186, 184, 183, 182, 181,
940 179, 177, 176, 175, 174, 173, 172, 170, 169, 168,
941 167, 166, 165, 162, 161, 160, 159, 158, 157, 156,
942 155, 153, 151, 147, 146, 145, 143, 142, 141, 138,
943 137, 136, 135, 134, 133, 132, 131, 129, 127, 126,
944 125, 124, 123, 122, 121, 120, 119, 115, 114, 113,
945 112, 111, 110, 109, 108, 107, 106, 105, 104, 103,
946 102, 101, 100, 98, 97, 96, 95, 94, 93, 92,
947 91, 90, 89, 88, 87, 83, 82, 81, 79, 78,
948
949 76, 75, 74, 73, 72, 71, 70, 69, 68, 67,
950 66, 65, 64, 63, 62, 61, 60, 59, 58, 57,
951 56, 55, 54, 53, 52, 51, 50, 47, 45, 44,
952 41, 39, 38, 36, 35, 34, 33, 32, 29, 28,
953 25, 19, 18, 16, 14, 9, 5, 3, 799, 799,
954 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
955 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
956 799, 799, 799, 799, 799, 799, 799, 799, 799, 799,
957 799, 799, 799, 799, 799, 799, 799, 799, 799, 799
958 } ;
959
960 /* Table of booleans, true if rule could match eol. */
961 static yyconst flex_int32_t yy_rule_can_match_eol[206] =
962 { 0,
963 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
964 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
965 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
966 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
967 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
968 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
969 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
970 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
971 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
972 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
973 0, 0, 0, 0, 0, 0, };
974
975 extern int yy_flex_debug;
976 int yy_flex_debug = 0;
977
978 static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
979 static char *yy_full_match;
980 static int yy_lp;
981 #define REJECT \
982 { \
983 *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
984 yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
985 ++(yy_lp); \
986 goto find_rule; \
987 }
988
989 #define yymore() yymore_used_but_not_detected
990 #define YY_MORE_ADJ 0
991 #define YY_RESTORE_YY_MORE_OFFSET
992 #ifndef YYLMAX
993 #define YYLMAX 8192
994 #endif
995
996 char yytext[YYLMAX];
997 char *yytext_ptr;
998 #line 1 "../../../../texk/web2c/omegafonts/pl-lexer.l"
999 #line 2 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1000 /* pl-lexer.l: Lexical analysis of property list files.
1001
1002 This file is part of Omega,
1003 which is based on the web2c distribution of TeX,
1004
1005 Copyright 2020 Karl Berry <[email protected]>
1006 Copyright 2002 Roozbeh Pournader
1007 Copyright 1994--2001 John Plaice and Yannis Haralambous
1008
1009 Omega is free software; you can redistribute it and/or modify
1010 it under the terms of the GNU General Public License as published by
1011 the Free Software Foundation; either version 2 of the License, or
1012 (at your option) any later version.
1013
1014 Omega is distributed in the hope that it will be useful,
1015 but WITHOUT ANY WARRANTY; without even the implied warranty of
1016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1017 GNU General Public License for more details.
1018
1019 You should have received a copy of the GNU General Public License
1020 along with Omega; if not, write to the Free Software Foundation, Inc.,
1021 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
1022 */
1023
1024 /* The xyarabic.opl test has an opl comment larger than 16k, which is
1025 the default buffer size for flex defined in its preamble. This
1026 results in an error like:
1027 input buffer overflow, can't enlarge buffer because scanner uses REJECT
1028 So we need to redefine YY_BUF_SIZE, which we do here. Unfortunately
1029 it is not perfect, since the flex preamble code uses its own
1030 YY_BUF_SIZE to #define YY_STATE_BUF_SIZE before our override takes
1031 effect. Fortunately this is not causing an error. Apparently the
1032 only way to truly override it would be on the command line, and that
1033 seems like too much trouble when this works in practice. */
1034 #undef YY_BUF_SIZE
1035 #define YY_BUF_SIZE 110000
1036
1037 #include <kpathsea/lib.h>
1038 #include <kpathsea/c-memstr.h>
1039 #include "parser.h"
1040 #include "pl-parser.h"
1041 #include "manifests.h"
1042 #include "error_routines.h"
1043 #ifdef __cplusplus
1044 #define yyinput input
1045 #endif
1046
1047 int line_number = 1;
1048 extern YYSTYPE yylval;
1049
1050 /* POTENTIAL BUG: saved_text could be run over; should check */
1051 #define MAX_PTR 100000
1052 char saved_text[MAX_PTR];
1053
1054 static void scan_int(unsigned);
1055 static void scan_char(void);
1056 static void scan_fix(void);
1057 static void scan_string(const char *, unsigned, unsigned);
1058 static void scan_hex_string(void);
1059
1060 #define KEEP_MIN 0
1061 #define KEEP_NONE 0
1062 #define KEEP_ALL 1
1063 #define KEEP_CONVERT 2
1064 #define KEEP_MAX 2
1065
1066 #define BASE_MIN 2
1067 #define BASE_MAX 16
1068
1069 /* For Solaris's lex, to increase tables sizes --RP */
1070 /* Space before number keeps ancient flex happy. */
1071 #line 1072 "pl-lexer.c"
1072
1073 #define INITIAL 0
1074
1075 #ifndef YY_NO_UNISTD_H
1076 /* Special case for "unistd.h", since it is non-ANSI. We include it way
1077 * down here because we want the user's section 1 to have been scanned first.
1078 * The user has a chance to override it with an option.
1079 */
1080 #include <unistd.h>
1081 #endif
1082
1083 #ifndef YY_EXTRA_TYPE
1084 #define YY_EXTRA_TYPE void *
1085 #endif
1086
1087 static int yy_init_globals (void );
1088
1089 /* Accessor methods to globals.
1090 These are made visible to non-reentrant scanners for convenience. */
1091
1092 int yylex_destroy (void );
1093
1094 int yyget_debug (void );
1095
1096 void yyset_debug (int debug_flag );
1097
1098 YY_EXTRA_TYPE yyget_extra (void );
1099
1100 void yyset_extra (YY_EXTRA_TYPE user_defined );
1101
1102 FILE *yyget_in (void );
1103
1104 void yyset_in (FILE * _in_str );
1105
1106 FILE *yyget_out (void );
1107
1108 void yyset_out (FILE * _out_str );
1109
1110 yy_size_t yyget_leng (void );
1111
1112 char *yyget_text (void );
1113
1114 int yyget_lineno (void );
1115
1116 void yyset_lineno (int _line_number );
1117
1118 /* Macros after this point can all be overridden by user definitions in
1119 * section 1.
1120 */
1121
1122 #ifndef YY_SKIP_YYWRAP
1123 #ifdef __cplusplus
1124 extern "C" int yywrap (void );
1125 #else
1126 extern int yywrap (void );
1127 #endif
1128 #endif
1129
1130 #ifndef YY_NO_UNPUT
1131
1132 static void yyunput (int c,char *buf_ptr );
1133
1134 #endif
1135
1136 #ifndef yytext_ptr
1137 static void yy_flex_strncpy (char *,yyconst char *,int );
1138 #endif
1139
1140 #ifdef YY_NEED_STRLEN
1141 static int yy_flex_strlen (yyconst char * );
1142 #endif
1143
1144 #ifndef YY_NO_INPUT
1145
1146 #ifdef __cplusplus
1147 static int yyinput (void );
1148 #else
1149 static int input (void );
1150 #endif
1151
1152 #endif
1153
1154 /* Amount of stuff to slurp up with each read. */
1155 #ifndef YY_READ_BUF_SIZE
1156 #ifdef __ia64__
1157 /* On IA-64, the buffer size is 16k, not 8k */
1158 #define YY_READ_BUF_SIZE 16384
1159 #else
1160 #define YY_READ_BUF_SIZE 8192
1161 #endif /* __ia64__ */
1162 #endif
1163
1164 /* Copy whatever the last rule matched to the standard output. */
1165 #ifndef ECHO
1166 /* This used to be an fputs(), but since the string might contain NUL's,
1167 * we now use fwrite().
1168 */
1169 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
1170 #endif
1171
1172 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1173 * is returned in "result".
1174 */
1175 #ifndef YY_INPUT
1176 #define YY_INPUT(buf,result,max_size) \
1177 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1178 { \
1179 int c = '*'; \
1180 size_t n; \
1181 for ( n = 0; n < max_size && \
1182 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1183 buf[n] = (char) c; \
1184 if ( c == '\n' ) \
1185 buf[n++] = (char) c; \
1186 if ( c == EOF && ferror( yyin ) ) \
1187 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1188 result = n; \
1189 } \
1190 else \
1191 { \
1192 errno=0; \
1193 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1194 { \
1195 if( errno != EINTR) \
1196 { \
1197 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1198 break; \
1199 } \
1200 errno=0; \
1201 clearerr(yyin); \
1202 } \
1203 }\
1204 \
1205
1206 #endif
1207
1208 /* No semi-colon after return; correct usage is to write "yyterminate();" -
1209 * we don't want an extra ';' after the "return" because that will cause
1210 * some compilers to complain about unreachable statements.
1211 */
1212 #ifndef yyterminate
1213 #define yyterminate() return YY_NULL
1214 #endif
1215
1216 /* Number of entries by which start-condition stack grows. */
1217 #ifndef YY_START_STACK_INCR
1218 #define YY_START_STACK_INCR 25
1219 #endif
1220
1221 /* Report a fatal error. */
1222 #ifndef YY_FATAL_ERROR
1223 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1224 #endif
1225
1226 /* end tables serialization structures and prototypes */
1227
1228 /* Default declaration of generated scanner - a define so the user can
1229 * easily add parameters.
1230 */
1231 #ifndef YY_DECL
1232 #define YY_DECL_IS_OURS 1
1233
1234 extern int yylex (void);
1235
1236 #define YY_DECL int yylex (void)
1237 #endif /* !YY_DECL */
1238
1239 /* Code executed at the beginning of each rule, after yytext and yyleng
1240 * have been set up.
1241 */
1242 #ifndef YY_USER_ACTION
1243 #define YY_USER_ACTION
1244 #endif
1245
1246 /* Code executed at the end of each rule. */
1247 #ifndef YY_BREAK
1248 #define YY_BREAK /*LINTED*/break;
1249 #endif
1250
1251 #define YY_RULE_SETUP \
1252 YY_USER_ACTION
1253
1254 /** The main scanner function which does all the work.
1255 */
1256 YY_DECL
1257 {
1258 yy_state_type yy_current_state;
1259 char *yy_cp, *yy_bp;
1260 int yy_act;
1261
1262 if ( !(yy_init) )
1263 {
1264 (yy_init) = 1;
1265
1266 #ifdef YY_USER_INIT
1267 YY_USER_INIT;
1268 #endif
1269
1270 /* Create the reject buffer large enough to save one state per allowed character. */
1271 if ( ! (yy_state_buf) )
1272 (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
1273 if ( ! (yy_state_buf) )
1274 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
1275
1276 if ( ! (yy_start) )
1277 (yy_start) = 1; /* first start state */
1278
1279 if ( ! yyin )
1280 yyin = stdin;
1281
1282 if ( ! yyout )
1283 yyout = stdout;
1284
1285 if ( ! YY_CURRENT_BUFFER ) {
1286 yyensure_buffer_stack ();
1287 YY_CURRENT_BUFFER_LVALUE =
1288 yy_create_buffer(yyin,YY_BUF_SIZE );
1289 }
1290
1291 yy_load_buffer_state( );
1292 }
1293
1294 {
1295 #line 86 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1296
1297
1298 #line 1299 "pl-lexer.c"
1299
1300 while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
1301 {
1302 yy_cp = (yy_c_buf_p);
1303
1304 /* Support of yytext. */
1305 *yy_cp = (yy_hold_char);
1306
1307 /* yy_bp points to the position in yy_ch_buf of the start of
1308 * the current run.
1309 */
1310 yy_bp = yy_cp;
1311
1312 yy_current_state = (yy_start);
1313
1314 (yy_state_ptr) = (yy_state_buf);
1315 *(yy_state_ptr)++ = yy_current_state;
1316
1317 yy_match:
1318 do
1319 {
1320 YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
1321 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1322 {
1323 yy_current_state = (int) yy_def[yy_current_state];
1324 if ( yy_current_state >= 800 )
1325 yy_c = yy_meta[(unsigned int) yy_c];
1326 }
1327 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1328 *(yy_state_ptr)++ = yy_current_state;
1329 ++yy_cp;
1330 }
1331 while ( yy_base[yy_current_state] != 849 );
1332
1333 yy_find_action:
1334 yy_current_state = *--(yy_state_ptr);
1335 (yy_lp) = yy_accept[yy_current_state];
1336 find_rule: /* we branch to this label when backing up */
1337 for ( ; ; ) /* until we find what rule we matched */
1338 {
1339 if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
1340 {
1341 yy_act = yy_acclist[(yy_lp)];
1342 {
1343 (yy_full_match) = yy_cp;
1344 break;
1345 }
1346 }
1347 --yy_cp;
1348 yy_current_state = *--(yy_state_ptr);
1349 (yy_lp) = yy_accept[yy_current_state];
1350 }
1351
1352 YY_DO_BEFORE_ACTION;
1353
1354 if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
1355 {
1356 yy_size_t yyl;
1357 for ( yyl = 0; yyl < yyleng; ++yyl )
1358 if ( yytext[yyl] == '\n' )
1359
1360 yylineno++;
1361 ;
1362 }
1363
1364 do_action: /* This label is used only to access EOF actions. */
1365
1366 switch ( yy_act )
1367 { /* beginning of action switch */
1368 case 1:
1369 YY_RULE_SETUP
1370 #line 88 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1371 {}
1372 YY_BREAK
1373 case 2:
1374 /* rule 2 can match eol */
1375 YY_RULE_SETUP
1376 #line 89 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1377 {line_number++; }
1378 YY_BREAK
1379 case 3:
1380 YY_RULE_SETUP
1381 #line 91 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1382 return(LEFT);
1383 YY_BREAK
1384 case 4:
1385 YY_RULE_SETUP
1386 #line 92 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1387 return(RIGHT);
1388 YY_BREAK
1389 case 5:
1390 YY_RULE_SETUP
1391 #line 94 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1392 {scan_int(8); return(NUMBER); }
1393 YY_BREAK
1394 case 6:
1395 YY_RULE_SETUP
1396 #line 95 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1397 {scan_int(10); return(NUMBER); }
1398 YY_BREAK
1399 case 7:
1400 YY_RULE_SETUP
1401 #line 96 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1402 {scan_int(16); return(NUMBER); }
1403 YY_BREAK
1404 case 8:
1405 YY_RULE_SETUP
1406 #line 97 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1407 {scan_char(); return(NUMBER); }
1408 YY_BREAK
1409 case 9:
1410 YY_RULE_SETUP
1411 #line 98 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1412 {scan_fix(); return(FIX); }
1413 YY_BREAK
1414 case 10:
1415 YY_RULE_SETUP
1416 #line 100 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1417 {scan_string("CODINGSCHEME", KEEP_CONVERT, LEN_CODING_SCHEME);
1418 return(CODINGSCHEME); }
1419 YY_BREAK
1420 case 11:
1421 YY_RULE_SETUP
1422 #line 102 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1423 {scan_string("FAMILY", KEEP_CONVERT, LEN_FAMILY);
1424 return(FAMILY); }
1425 YY_BREAK
1426 case 12:
1427 YY_RULE_SETUP
1428 #line 104 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1429 {scan_string("VTITLE", KEEP_ALL, LEN_VTITLE);
1430 return(VTITLE); }
1431 YY_BREAK
1432 case 13:
1433 YY_RULE_SETUP
1434 #line 106 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1435 {scan_string("FONTNAME", KEEP_ALL, LEN_FONT_NAME);
1436 return(FONTNAME); }
1437 YY_BREAK
1438 case 14:
1439 YY_RULE_SETUP
1440 #line 108 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1441 {scan_string("FONTAREA", KEEP_ALL, LEN_FONT_AREA);
1442 return(FONTAREA); }
1443 YY_BREAK
1444 case 15:
1445 YY_RULE_SETUP
1446 #line 110 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1447 {scan_string("SPECIAL", KEEP_ALL, 0);
1448 return(SPECIAL); }
1449 YY_BREAK
1450 case 16:
1451 YY_RULE_SETUP
1452 #line 112 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1453 {scan_string("COMMENT", KEEP_NONE, 0);
1454 return(COMMENT); }
1455 YY_BREAK
1456 case 17:
1457 YY_RULE_SETUP
1458 #line 115 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1459 {scan_hex_string(); return(SPECIALHEX); }
1460 YY_BREAK
1461 case 18:
1462 YY_RULE_SETUP
1463 #line 118 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1464 {yylval.yint=1; return(SEVENBITSAFEFLAG); }
1465 YY_BREAK
1466 case 19:
1467 YY_RULE_SETUP
1468 #line 119 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1469 {yylval.yint=0; return(SEVENBITSAFEFLAG); }
1470 YY_BREAK
1471 case 20:
1472 YY_RULE_SETUP
1473 #line 121 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1474 return(CHECKSUM);
1475 YY_BREAK
1476 case 21:
1477 YY_RULE_SETUP
1478 #line 122 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1479 return(DESIGNSIZE);
1480 YY_BREAK
1481 case 22:
1482 YY_RULE_SETUP
1483 #line 123 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1484 return(DESIGNUNITS);
1485 YY_BREAK
1486 case 23:
1487 YY_RULE_SETUP
1488 #line 124 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1489 return(FACE);
1490 YY_BREAK
1491 case 24:
1492 YY_RULE_SETUP
1493 #line 125 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1494 return(HEADER);
1495 YY_BREAK
1496 case 25:
1497 YY_RULE_SETUP
1498 #line 126 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1499 return(BOUNDARYCHAR);
1500 YY_BREAK
1501 case 26:
1502 YY_RULE_SETUP
1503 #line 127 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1504 return(FONTDIMEN);
1505 YY_BREAK
1506 case 27:
1507 YY_RULE_SETUP
1508 #line 128 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1509 return(LIGTABLE);
1510 YY_BREAK
1511 case 28:
1512 YY_RULE_SETUP
1513 #line 129 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1514 return(CHARACTER);
1515 YY_BREAK
1516 case 29:
1517 YY_RULE_SETUP
1518 #line 131 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1519 return(PARAMETER);
1520 YY_BREAK
1521 case 30:
1522 YY_RULE_SETUP
1523 #line 132 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1524 return(LABEL);
1525 YY_BREAK
1526 case 31:
1527 YY_RULE_SETUP
1528 #line 133 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1529 return(KRN);
1530 YY_BREAK
1531 case 32:
1532 YY_RULE_SETUP
1533 #line 134 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1534 return(STOP);
1535 YY_BREAK
1536 case 33:
1537 YY_RULE_SETUP
1538 #line 135 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1539 return(SKIP);
1540 YY_BREAK
1541 case 34:
1542 YY_RULE_SETUP
1543 #line 136 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1544 return(NEXTLARGER);
1545 YY_BREAK
1546 case 35:
1547 YY_RULE_SETUP
1548 #line 137 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1549 return(VARCHAR);
1550 YY_BREAK
1551 case 36:
1552 YY_RULE_SETUP
1553 #line 139 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1554 {yylval.yint = C_WD; return(CHARMEASURE); }
1555 YY_BREAK
1556 case 37:
1557 YY_RULE_SETUP
1558 #line 140 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1559 {yylval.yint = C_HT; return(CHARMEASURE); }
1560 YY_BREAK
1561 case 38:
1562 YY_RULE_SETUP
1563 #line 141 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1564 {yylval.yint = C_DP; return(CHARMEASURE); }
1565 YY_BREAK
1566 case 39:
1567 YY_RULE_SETUP
1568 #line 142 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1569 {yylval.yint = C_IC; return(CHARMEASURE); }
1570 YY_BREAK
1571 case 40:
1572 YY_RULE_SETUP
1573 #line 144 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1574 {yylval.yint = E_TOP; return(EXTEN); }
1575 YY_BREAK
1576 case 41:
1577 YY_RULE_SETUP
1578 #line 145 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1579 {yylval.yint = E_MID; return(EXTEN); }
1580 YY_BREAK
1581 case 42:
1582 YY_RULE_SETUP
1583 #line 146 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1584 {yylval.yint = E_BOT; return(EXTEN); }
1585 YY_BREAK
1586 case 43:
1587 YY_RULE_SETUP
1588 #line 147 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1589 {yylval.yint = E_REP; return(EXTEN); }
1590 YY_BREAK
1591 case 44:
1592 YY_RULE_SETUP
1593 #line 149 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1594 {yylval.yint = L_0; return(LIG); }
1595 YY_BREAK
1596 case 45:
1597 YY_RULE_SETUP
1598 #line 150 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1599 {yylval.yint = L_B; return(LIG); }
1600 YY_BREAK
1601 case 46:
1602 YY_RULE_SETUP
1603 #line 151 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1604 {yylval.yint = L_A; return(LIG); }
1605 YY_BREAK
1606 case 47:
1607 YY_RULE_SETUP
1608 #line 152 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1609 {yylval.yint = L_AB; return(LIG); }
1610 YY_BREAK
1611 case 48:
1612 YY_RULE_SETUP
1613 #line 153 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1614 {yylval.yint = L_Bx; return(LIG); }
1615 YY_BREAK
1616 case 49:
1617 YY_RULE_SETUP
1618 #line 154 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1619 {yylval.yint = L_Ax; return(LIG); }
1620 YY_BREAK
1621 case 50:
1622 YY_RULE_SETUP
1623 #line 155 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1624 {yylval.yint = L_ABx; return(LIG); }
1625 YY_BREAK
1626 case 51:
1627 YY_RULE_SETUP
1628 #line 156 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1629 {yylval.yint = L_ABxx; return(LIG); }
1630 YY_BREAK
1631 case 52:
1632 YY_RULE_SETUP
1633 #line 158 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1634 {yylval.yint = F_MRR; return(NUMBER); }
1635 YY_BREAK
1636 case 53:
1637 YY_RULE_SETUP
1638 #line 159 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1639 {yylval.yint = F_MIR; return(NUMBER); }
1640 YY_BREAK
1641 case 54:
1642 YY_RULE_SETUP
1643 #line 160 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1644 {yylval.yint = F_BRR; return(NUMBER); }
1645 YY_BREAK
1646 case 55:
1647 YY_RULE_SETUP
1648 #line 161 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1649 {yylval.yint = F_BIR; return(NUMBER); }
1650 YY_BREAK
1651 case 56:
1652 YY_RULE_SETUP
1653 #line 162 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1654 {yylval.yint = F_LRR; return(NUMBER); }
1655 YY_BREAK
1656 case 57:
1657 YY_RULE_SETUP
1658 #line 163 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1659 {yylval.yint = F_LIR; return(NUMBER); }
1660 YY_BREAK
1661 case 58:
1662 YY_RULE_SETUP
1663 #line 164 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1664 {yylval.yint = F_MRC; return(NUMBER); }
1665 YY_BREAK
1666 case 59:
1667 YY_RULE_SETUP
1668 #line 165 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1669 {yylval.yint = F_MIC; return(NUMBER); }
1670 YY_BREAK
1671 case 60:
1672 YY_RULE_SETUP
1673 #line 166 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1674 {yylval.yint = F_BRC; return(NUMBER); }
1675 YY_BREAK
1676 case 61:
1677 YY_RULE_SETUP
1678 #line 167 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1679 {yylval.yint = F_BIC; return(NUMBER); }
1680 YY_BREAK
1681 case 62:
1682 YY_RULE_SETUP
1683 #line 168 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1684 {yylval.yint = F_LRC; return(NUMBER); }
1685 YY_BREAK
1686 case 63:
1687 YY_RULE_SETUP
1688 #line 169 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1689 {yylval.yint = F_LIC; return(NUMBER); }
1690 YY_BREAK
1691 case 64:
1692 YY_RULE_SETUP
1693 #line 170 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1694 {yylval.yint = F_MRE; return(NUMBER); }
1695 YY_BREAK
1696 case 65:
1697 YY_RULE_SETUP
1698 #line 171 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1699 {yylval.yint = F_MIE; return(NUMBER); }
1700 YY_BREAK
1701 case 66:
1702 YY_RULE_SETUP
1703 #line 172 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1704 {yylval.yint = F_BRE; return(NUMBER); }
1705 YY_BREAK
1706 case 67:
1707 YY_RULE_SETUP
1708 #line 173 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1709 {yylval.yint = F_BIE; return(NUMBER); }
1710 YY_BREAK
1711 case 68:
1712 YY_RULE_SETUP
1713 #line 174 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1714 {yylval.yint = F_LRE; return(NUMBER); }
1715 YY_BREAK
1716 case 69:
1717 YY_RULE_SETUP
1718 #line 175 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1719 {yylval.yint = F_LIE; return(NUMBER); }
1720 YY_BREAK
1721 case 70:
1722 YY_RULE_SETUP
1723 #line 177 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1724 {yylval.yint = P_SLANT; return(NAMEDPARAMETER); }
1725 YY_BREAK
1726 case 71:
1727 YY_RULE_SETUP
1728 #line 178 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1729 {yylval.yint = P_SPACE; return(NAMEDPARAMETER); }
1730 YY_BREAK
1731 case 72:
1732 YY_RULE_SETUP
1733 #line 179 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1734 {yylval.yint = P_STRETCH; return(NAMEDPARAMETER); }
1735 YY_BREAK
1736 case 73:
1737 YY_RULE_SETUP
1738 #line 180 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1739 {yylval.yint = P_SHRINK; return(NAMEDPARAMETER); }
1740 YY_BREAK
1741 case 74:
1742 YY_RULE_SETUP
1743 #line 181 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1744 {yylval.yint = P_XHEIGHT; return(NAMEDPARAMETER); }
1745 YY_BREAK
1746 case 75:
1747 YY_RULE_SETUP
1748 #line 182 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1749 {yylval.yint = P_QUAD; return(NAMEDPARAMETER); }
1750 YY_BREAK
1751 case 76:
1752 YY_RULE_SETUP
1753 #line 183 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1754 {yylval.yint = P_EXTRASPACE; return(NAMEDPARAMETER); }
1755 YY_BREAK
1756 case 77:
1757 YY_RULE_SETUP
1758 #line 184 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1759 {yylval.yint = P_NUM1; return(NAMEDPARAMETER); }
1760 YY_BREAK
1761 case 78:
1762 YY_RULE_SETUP
1763 #line 185 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1764 {yylval.yint = P_NUM2; return(NAMEDPARAMETER); }
1765 YY_BREAK
1766 case 79:
1767 YY_RULE_SETUP
1768 #line 186 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1769 {yylval.yint = P_NUM3; return(NAMEDPARAMETER); }
1770 YY_BREAK
1771 case 80:
1772 YY_RULE_SETUP
1773 #line 187 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1774 {yylval.yint = P_DENOM1; return(NAMEDPARAMETER); }
1775 YY_BREAK
1776 case 81:
1777 YY_RULE_SETUP
1778 #line 188 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1779 {yylval.yint = P_DENOM2; return(NAMEDPARAMETER); }
1780 YY_BREAK
1781 case 82:
1782 YY_RULE_SETUP
1783 #line 189 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1784 {yylval.yint = P_SUP1; return(NAMEDPARAMETER); }
1785 YY_BREAK
1786 case 83:
1787 YY_RULE_SETUP
1788 #line 190 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1789 {yylval.yint = P_SUP2; return(NAMEDPARAMETER); }
1790 YY_BREAK
1791 case 84:
1792 YY_RULE_SETUP
1793 #line 191 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1794 {yylval.yint = P_SUP3; return(NAMEDPARAMETER); }
1795 YY_BREAK
1796 case 85:
1797 YY_RULE_SETUP
1798 #line 192 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1799 {yylval.yint = P_SUB1; return(NAMEDPARAMETER); }
1800 YY_BREAK
1801 case 86:
1802 YY_RULE_SETUP
1803 #line 193 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1804 {yylval.yint = P_SUB2; return(NAMEDPARAMETER); }
1805 YY_BREAK
1806 case 87:
1807 YY_RULE_SETUP
1808 #line 194 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1809 {yylval.yint = P_SUPDROP; return(NAMEDPARAMETER); }
1810 YY_BREAK
1811 case 88:
1812 YY_RULE_SETUP
1813 #line 195 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1814 {yylval.yint = P_SUBDROP; return(NAMEDPARAMETER); }
1815 YY_BREAK
1816 case 89:
1817 YY_RULE_SETUP
1818 #line 196 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1819 {yylval.yint = P_DELIM1; return(NAMEDPARAMETER); }
1820 YY_BREAK
1821 case 90:
1822 YY_RULE_SETUP
1823 #line 197 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1824 {yylval.yint = P_DELIM2; return(NAMEDPARAMETER); }
1825 YY_BREAK
1826 case 91:
1827 YY_RULE_SETUP
1828 #line 198 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1829 {yylval.yint = P_AXISHEIGHT; return(NAMEDPARAMETER); }
1830 YY_BREAK
1831 case 92:
1832 YY_RULE_SETUP
1833 #line 200 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1834 {yylval.yint = P_DEFAULTRULETHICKNESS;
1835 return(NAMEDPARAMETER); }
1836 YY_BREAK
1837 case 93:
1838 YY_RULE_SETUP
1839 #line 202 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1840 {yylval.yint = P_BIGOPSPACING1; return(NAMEDPARAMETER); }
1841 YY_BREAK
1842 case 94:
1843 YY_RULE_SETUP
1844 #line 203 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1845 {yylval.yint = P_BIGOPSPACING2; return(NAMEDPARAMETER); }
1846 YY_BREAK
1847 case 95:
1848 YY_RULE_SETUP
1849 #line 204 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1850 {yylval.yint = P_BIGOPSPACING3; return(NAMEDPARAMETER); }
1851 YY_BREAK
1852 case 96:
1853 YY_RULE_SETUP
1854 #line 205 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1855 {yylval.yint = P_BIGOPSPACING4; return(NAMEDPARAMETER); }
1856 YY_BREAK
1857 case 97:
1858 YY_RULE_SETUP
1859 #line 206 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1860 {yylval.yint = P_BIGOPSPACING5; return(NAMEDPARAMETER); }
1861 YY_BREAK
1862 case 98:
1863 YY_RULE_SETUP
1864 #line 208 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1865 {return(MAPFONT); }
1866 YY_BREAK
1867 case 99:
1868 YY_RULE_SETUP
1869 #line 209 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1870 {return(FONTCHECKSUM); }
1871 YY_BREAK
1872 case 100:
1873 YY_RULE_SETUP
1874 #line 210 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1875 {return(FONTAT); }
1876 YY_BREAK
1877 case 101:
1878 YY_RULE_SETUP
1879 #line 211 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1880 {return(FONTDSIZE); }
1881 YY_BREAK
1882 case 102:
1883 YY_RULE_SETUP
1884 #line 212 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1885 {return(MAP); }
1886 YY_BREAK
1887 case 103:
1888 YY_RULE_SETUP
1889 #line 213 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1890 {return(SELECTFONT); }
1891 YY_BREAK
1892 case 104:
1893 YY_RULE_SETUP
1894 #line 214 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1895 {return(SETCHAR); }
1896 YY_BREAK
1897 case 105:
1898 YY_RULE_SETUP
1899 #line 215 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1900 {return(SETRULE); }
1901 YY_BREAK
1902 case 106:
1903 YY_RULE_SETUP
1904 #line 216 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1905 {return(PUSH); }
1906 YY_BREAK
1907 case 107:
1908 YY_RULE_SETUP
1909 #line 217 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1910 {return(POP); }
1911 YY_BREAK
1912 case 108:
1913 YY_RULE_SETUP
1914 #line 219 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1915 {yylval.yint = M_RIGHT; return(MOVE); }
1916 YY_BREAK
1917 case 109:
1918 YY_RULE_SETUP
1919 #line 220 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1920 {yylval.yint = M_LEFT; return(MOVE); }
1921 YY_BREAK
1922 case 110:
1923 YY_RULE_SETUP
1924 #line 221 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1925 {yylval.yint = M_UP; return(MOVE); }
1926 YY_BREAK
1927 case 111:
1928 YY_RULE_SETUP
1929 #line 222 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1930 {yylval.yint = M_DOWN; return(MOVE); }
1931 YY_BREAK
1932 case 112:
1933 YY_RULE_SETUP
1934 #line 224 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1935 return(OFMLEVEL);
1936 YY_BREAK
1937 case 113:
1938 YY_RULE_SETUP
1939 #line 225 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1940 {yylval.yint = ACC_TOP; return(ACCENT); }
1941 YY_BREAK
1942 case 114:
1943 YY_RULE_SETUP
1944 #line 226 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1945 {yylval.yint = ACC_MID; return(ACCENT); }
1946 YY_BREAK
1947 case 115:
1948 YY_RULE_SETUP
1949 #line 227 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1950 {yylval.yint = ACC_BOT; return(ACCENT); }
1951 YY_BREAK
1952 case 116:
1953 YY_RULE_SETUP
1954 #line 229 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1955 {yylval.yint = DIR_ORD+DIR_TL; return(FONTDIR);}
1956 YY_BREAK
1957 case 117:
1958 YY_RULE_SETUP
1959 #line 230 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1960 {yylval.yint = DIR_ORD+DIR_LT; return(FONTDIR);}
1961 YY_BREAK
1962 case 118:
1963 YY_RULE_SETUP
1964 #line 231 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1965 {yylval.yint = DIR_ORD+DIR_TR; return(FONTDIR);}
1966 YY_BREAK
1967 case 119:
1968 YY_RULE_SETUP
1969 #line 232 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1970 {yylval.yint = DIR_ORD+DIR_LB; return(FONTDIR);}
1971 YY_BREAK
1972 case 120:
1973 YY_RULE_SETUP
1974 #line 233 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1975 {yylval.yint = DIR_ORD+DIR_BL; return(FONTDIR);}
1976 YY_BREAK
1977 case 121:
1978 YY_RULE_SETUP
1979 #line 234 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1980 {yylval.yint = DIR_ORD+DIR_RT; return(FONTDIR);}
1981 YY_BREAK
1982 case 122:
1983 YY_RULE_SETUP
1984 #line 235 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1985 {yylval.yint = DIR_ORD+DIR_BR; return(FONTDIR);}
1986 YY_BREAK
1987 case 123:
1988 YY_RULE_SETUP
1989 #line 236 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1990 {yylval.yint = DIR_ORD+DIR_RB; return(FONTDIR);}
1991 YY_BREAK
1992 case 124:
1993 YY_RULE_SETUP
1994 #line 237 "../../../../texk/web2c/omegafonts/pl-lexer.l"
1995 {yylval.yint = DIR_NAT+DIR_TL; return(FONTDIR);}
1996 YY_BREAK
1997 case 125:
1998 YY_RULE_SETUP
1999 #line 238 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2000 {yylval.yint = DIR_NAT+DIR_LT; return(FONTDIR);}
2001 YY_BREAK
2002 case 126:
2003 YY_RULE_SETUP
2004 #line 239 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2005 {yylval.yint = DIR_NAT+DIR_TR; return(FONTDIR);}
2006 YY_BREAK
2007 case 127:
2008 YY_RULE_SETUP
2009 #line 240 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2010 {yylval.yint = DIR_NAT+DIR_LB; return(FONTDIR);}
2011 YY_BREAK
2012 case 128:
2013 YY_RULE_SETUP
2014 #line 241 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2015 {yylval.yint = DIR_NAT+DIR_BL; return(FONTDIR);}
2016 YY_BREAK
2017 case 129:
2018 YY_RULE_SETUP
2019 #line 242 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2020 {yylval.yint = DIR_NAT+DIR_RT; return(FONTDIR);}
2021 YY_BREAK
2022 case 130:
2023 YY_RULE_SETUP
2024 #line 243 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2025 {yylval.yint = DIR_NAT+DIR_BR; return(FONTDIR);}
2026 YY_BREAK
2027 case 131:
2028 YY_RULE_SETUP
2029 #line 244 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2030 {yylval.yint = DIR_NAT+DIR_RB; return(FONTDIR);}
2031 YY_BREAK
2032 /* for compatibility with the omegaware versions */
2033 case 132:
2034 YY_RULE_SETUP
2035 #line 246 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2036 {yylval.yint = DIR_NAT+DIR_TL; return(FONTDIR);}
2037 YY_BREAK
2038 case 133:
2039 YY_RULE_SETUP
2040 #line 247 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2041 {yylval.yint = DIR_NAT+DIR_LT; return(FONTDIR);}
2042 YY_BREAK
2043 case 134:
2044 YY_RULE_SETUP
2045 #line 248 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2046 {yylval.yint = DIR_NAT+DIR_TR; return(FONTDIR);}
2047 YY_BREAK
2048 case 135:
2049 YY_RULE_SETUP
2050 #line 249 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2051 {yylval.yint = DIR_NAT+DIR_LB; return(FONTDIR);}
2052 YY_BREAK
2053 case 136:
2054 YY_RULE_SETUP
2055 #line 250 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2056 {yylval.yint = DIR_NAT+DIR_BL; return(FONTDIR);}
2057 YY_BREAK
2058 case 137:
2059 YY_RULE_SETUP
2060 #line 251 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2061 {yylval.yint = DIR_NAT+DIR_RT; return(FONTDIR);}
2062 YY_BREAK
2063 case 138:
2064 YY_RULE_SETUP
2065 #line 252 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2066 {yylval.yint = DIR_NAT+DIR_BR; return(FONTDIR);}
2067 YY_BREAK
2068 case 139:
2069 YY_RULE_SETUP
2070 #line 253 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2071 {yylval.yint = DIR_NAT+DIR_RB; return(FONTDIR);}
2072 YY_BREAK
2073 case 140:
2074 YY_RULE_SETUP
2075 #line 255 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2076 return(FONTIVALUE);
2077 YY_BREAK
2078 case 141:
2079 YY_RULE_SETUP
2080 #line 256 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2081 return(FONTFVALUE);
2082 YY_BREAK
2083 case 142:
2084 YY_RULE_SETUP
2085 #line 257 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2086 return(FONTMVALUE);
2087 YY_BREAK
2088 case 143:
2089 YY_RULE_SETUP
2090 #line 258 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2091 return(FONTPENALTY);
2092 YY_BREAK
2093 case 144:
2094 YY_RULE_SETUP
2095 #line 259 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2096 return(FONTRULE);
2097 YY_BREAK
2098 case 145:
2099 YY_RULE_SETUP
2100 #line 260 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2101 return(FONTGLUE);
2102 YY_BREAK
2103 case 146:
2104 YY_RULE_SETUP
2105 #line 262 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2106 return(IVALUE);
2107 YY_BREAK
2108 case 147:
2109 YY_RULE_SETUP
2110 #line 263 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2111 return(FVALUE);
2112 YY_BREAK
2113 case 148:
2114 YY_RULE_SETUP
2115 #line 264 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2116 return(MVALUE);
2117 YY_BREAK
2118 case 149:
2119 YY_RULE_SETUP
2120 #line 265 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2121 return(PENALTY);
2122 YY_BREAK
2123 case 150:
2124 YY_RULE_SETUP
2125 #line 266 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2126 return(RULE);
2127 YY_BREAK
2128 case 151:
2129 YY_RULE_SETUP
2130 #line 267 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2131 return(GLUE);
2132 YY_BREAK
2133 case 152:
2134 YY_RULE_SETUP
2135 #line 269 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2136 return(IVALUEVAL);
2137 YY_BREAK
2138 case 153:
2139 YY_RULE_SETUP
2140 #line 270 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2141 return(FVALUEVAL);
2142 YY_BREAK
2143 case 154:
2144 YY_RULE_SETUP
2145 #line 271 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2146 return(MVALUEVAL);
2147 YY_BREAK
2148 case 155:
2149 YY_RULE_SETUP
2150 #line 272 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2151 return(PENALTYVAL);
2152 YY_BREAK
2153 case 156:
2154 YY_RULE_SETUP
2155 #line 274 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2156 { yylval.yint = RULE_WD; return(RULEMEASURE); }
2157 YY_BREAK
2158 case 157:
2159 YY_RULE_SETUP
2160 #line 275 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2161 { yylval.yint = RULE_HT; return(RULEMEASURE); }
2162 YY_BREAK
2163 case 158:
2164 YY_RULE_SETUP
2165 #line 276 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2166 { yylval.yint = RULE_DP; return(RULEMEASURE); }
2167 YY_BREAK
2168 case 159:
2169 YY_RULE_SETUP
2170 #line 278 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2171 return(GLUEWD);
2172 YY_BREAK
2173 case 160:
2174 YY_RULE_SETUP
2175 #line 279 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2176 { yylval.yint = GLUE_STRETCH; return(GLUESHRINKSTRETCH); }
2177 YY_BREAK
2178 case 161:
2179 YY_RULE_SETUP
2180 #line 280 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2181 { yylval.yint = GLUE_SHRINK; return(GLUESHRINKSTRETCH); }
2182 YY_BREAK
2183 case 162:
2184 YY_RULE_SETUP
2185 #line 282 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2186 return(GLUETYPE);
2187 YY_BREAK
2188 case 163:
2189 YY_RULE_SETUP
2190 #line 283 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2191 return(GLUERULE);
2192 YY_BREAK
2193 case 164:
2194 YY_RULE_SETUP
2195 #line 284 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2196 return(GLUECHAR);
2197 YY_BREAK
2198 case 165:
2199 YY_RULE_SETUP
2200 #line 286 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2201 return(CHARIVALUE);
2202 YY_BREAK
2203 case 166:
2204 YY_RULE_SETUP
2205 #line 287 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2206 return(CHARFVALUE);
2207 YY_BREAK
2208 case 167:
2209 YY_RULE_SETUP
2210 #line 288 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2211 return(CHARMVALUE);
2212 YY_BREAK
2213 case 168:
2214 YY_RULE_SETUP
2215 #line 289 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2216 return(CHARPENALTY);
2217 YY_BREAK
2218 case 169:
2219 YY_RULE_SETUP
2220 #line 290 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2221 return(CHARRULE);
2222 YY_BREAK
2223 case 170:
2224 YY_RULE_SETUP
2225 #line 291 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2226 return(CHARGLUE);
2227 YY_BREAK
2228 case 171:
2229 YY_RULE_SETUP
2230 #line 293 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2231 return(CKRN);
2232 YY_BREAK
2233 case 172:
2234 YY_RULE_SETUP
2235 #line 294 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2236 return(CGLUE);
2237 YY_BREAK
2238 case 173:
2239 YY_RULE_SETUP
2240 #line 295 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2241 return(CPENALTY);
2242 YY_BREAK
2243 case 174:
2244 YY_RULE_SETUP
2245 #line 296 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2246 return(CPENGLUE);
2247 YY_BREAK
2248 case 175:
2249 YY_RULE_SETUP
2250 #line 297 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2251 return(CLABEL);
2252 YY_BREAK
2253 case 176:
2254 YY_RULE_SETUP
2255 #line 299 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2256 return(CHARREPEAT);
2257 YY_BREAK
2258 case 177:
2259 YY_RULE_SETUP
2260 #line 302 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2261 {yylval.yint = O_FILLL; return(GLUEORDER); }
2262 YY_BREAK
2263 case 178:
2264 YY_RULE_SETUP
2265 #line 303 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2266 {yylval.yint = O_FILL; return(GLUEORDER); }
2267 YY_BREAK
2268 case 179:
2269 YY_RULE_SETUP
2270 #line 304 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2271 {yylval.yint = O_FIL; return(GLUEORDER); }
2272 YY_BREAK
2273 case 180:
2274 YY_RULE_SETUP
2275 #line 305 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2276 {yylval.yint = O_FI; return(GLUEORDER); }
2277 YY_BREAK
2278 case 181:
2279 YY_RULE_SETUP
2280 #line 306 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2281 {yylval.yint = O_UNIT; return(GLUEORDER); }
2282 YY_BREAK
2283 case 182:
2284 YY_RULE_SETUP
2285 #line 308 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2286 {yylval.yint = K_NORMAL; return(GLUEKIND); }
2287 YY_BREAK
2288 case 183:
2289 YY_RULE_SETUP
2290 #line 309 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2291 {yylval.yint = K_ALEADERS; return(GLUEKIND); }
2292 YY_BREAK
2293 case 184:
2294 YY_RULE_SETUP
2295 #line 310 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2296 {yylval.yint = K_CLEADERS; return(GLUEKIND); }
2297 YY_BREAK
2298 case 185:
2299 YY_RULE_SETUP
2300 #line 311 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2301 {yylval.yint = K_XLEADERS; return(GLUEKIND); }
2302 YY_BREAK
2303 case 186:
2304 YY_RULE_SETUP
2305 #line 313 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2306 {yylval.yint = C_SECWD; return(CHARMEASURE); }
2307 YY_BREAK
2308 case 187:
2309 YY_RULE_SETUP
2310 #line 314 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2311 {yylval.yint = C_SECHT; return(CHARMEASURE); }
2312 YY_BREAK
2313 case 188:
2314 YY_RULE_SETUP
2315 #line 315 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2316 {yylval.yint = C_SECDP; return(CHARMEASURE); }
2317 YY_BREAK
2318 case 189:
2319 YY_RULE_SETUP
2320 #line 316 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2321 {yylval.yint = C_SECIC; return(CHARMEASURE); }
2322 YY_BREAK
2323 case 190:
2324 YY_RULE_SETUP
2325 #line 318 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2326 {yylval.yint = C_P_TOPAXIS; return(CHARMEASURE); }
2327 YY_BREAK
2328 case 191:
2329 YY_RULE_SETUP
2330 #line 319 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2331 {yylval.yint = C_P_TOPAXISBIs; return(CHARMEASURE); }
2332 YY_BREAK
2333 case 192:
2334 YY_RULE_SETUP
2335 #line 320 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2336 {yylval.yint = C_P_BOTAXIS; return(CHARMEASURE); }
2337 YY_BREAK
2338 case 193:
2339 YY_RULE_SETUP
2340 #line 321 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2341 {yylval.yint = C_P_BOTAXISBIS; return(CHARMEASURE); }
2342 YY_BREAK
2343 case 194:
2344 YY_RULE_SETUP
2345 #line 322 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2346 {yylval.yint = C_P_MIDHOR; return(CHARMEASURE); }
2347 YY_BREAK
2348 case 195:
2349 YY_RULE_SETUP
2350 #line 323 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2351 {yylval.yint = C_P_MIDVERT; return(CHARMEASURE); }
2352 YY_BREAK
2353 case 196:
2354 YY_RULE_SETUP
2355 #line 324 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2356 {yylval.yint = C_P_BASESLANT; return(CHARMEASURE); }
2357 YY_BREAK
2358 case 197:
2359 YY_RULE_SETUP
2360 #line 326 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2361 {yylval.yint = C_S_TOPAXIS; return(CHARMEASURE); }
2362 YY_BREAK
2363 case 198:
2364 YY_RULE_SETUP
2365 #line 327 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2366 {yylval.yint = C_S_TOPAXISBIs; return(CHARMEASURE); }
2367 YY_BREAK
2368 case 199:
2369 YY_RULE_SETUP
2370 #line 328 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2371 {yylval.yint = C_S_BOTAXIS; return(CHARMEASURE); }
2372 YY_BREAK
2373 case 200:
2374 YY_RULE_SETUP
2375 #line 329 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2376 {yylval.yint = C_S_BOTAXISBIS; return(CHARMEASURE); }
2377 YY_BREAK
2378 case 201:
2379 YY_RULE_SETUP
2380 #line 330 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2381 {yylval.yint = C_S_MIDHOR; return(CHARMEASURE); }
2382 YY_BREAK
2383 case 202:
2384 YY_RULE_SETUP
2385 #line 331 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2386 {yylval.yint = C_S_MIDVERT; return(CHARMEASURE); }
2387 YY_BREAK
2388 case 203:
2389 YY_RULE_SETUP
2390 #line 332 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2391 {yylval.yint = C_S_BASESLANT; return(CHARMEASURE); }
2392 YY_BREAK
2393 case 204:
2394 YY_RULE_SETUP
2395 #line 334 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2396 {lex_error_1("unexpected character (%x); ignored",
2397 yytext[0]);}
2398 YY_BREAK
2399 case 205:
2400 YY_RULE_SETUP
2401 #line 336 "../../../../texk/web2c/omegafonts/pl-lexer.l"
2402 ECHO;
2403 YY_BREAK
2404 #line 2405 "pl-lexer.c"
2405 case YY_STATE_EOF(INITIAL):
2406 yyterminate();
2407
2408 case YY_END_OF_BUFFER:
2409 {
2410 /* Amount of text matched not including the EOB char. */
2411 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
2412
2413 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2414 *yy_cp = (yy_hold_char);
2415 YY_RESTORE_YY_MORE_OFFSET
2416
2417 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
2418 {
2419 /* We're scanning a new file or input source. It's
2420 * possible that this happened because the user
2421 * just pointed yyin at a new source and called
2422 * yylex(). If so, then we have to assure
2423 * consistency between YY_CURRENT_BUFFER and our
2424 * globals. Here is the right place to do so, because
2425 * this is the first action (other than possibly a
2426 * back-up) that will match for the new input source.
2427 */
2428 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2429 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
2430 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
2431 }
2432
2433 /* Note that here we test for yy_c_buf_p "<=" to the position
2434 * of the first EOB in the buffer, since yy_c_buf_p will
2435 * already have been incremented past the NUL character
2436 * (since all states make transitions on EOB to the
2437 * end-of-buffer state). Contrast this with the test
2438 * in input().
2439 */
2440 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
2441 { /* This was really a NUL. */
2442 yy_state_type yy_next_state;
2443
2444 (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
2445
2446 yy_current_state = yy_get_previous_state( );
2447
2448 /* Okay, we're now positioned to make the NUL
2449 * transition. We couldn't have
2450 * yy_get_previous_state() go ahead and do it
2451 * for us because it doesn't know how to deal
2452 * with the possibility of jamming (and we don't
2453 * want to build jamming into it because then it
2454 * will run more slowly).
2455 */
2456
2457 yy_next_state = yy_try_NUL_trans( yy_current_state );
2458
2459 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2460
2461 if ( yy_next_state )
2462 {
2463 /* Consume the NUL. */
2464 yy_cp = ++(yy_c_buf_p);
2465 yy_current_state = yy_next_state;
2466 goto yy_match;
2467 }
2468
2469 else
2470 {
2471 yy_cp = (yy_c_buf_p);
2472 goto yy_find_action;
2473 }
2474 }
2475
2476 else switch ( yy_get_next_buffer( ) )
2477 {
2478 case EOB_ACT_END_OF_FILE:
2479 {
2480 (yy_did_buffer_switch_on_eof) = 0;
2481
2482 if ( yywrap( ) )
2483 {
2484 /* Note: because we've taken care in
2485 * yy_get_next_buffer() to have set up
2486 * yytext, we can now set up
2487 * yy_c_buf_p so that if some total
2488 * hoser (like flex itself) wants to
2489 * call the scanner after we return the
2490 * YY_NULL, it'll still work - another
2491 * YY_NULL will get returned.
2492 */
2493 (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
2494
2495 yy_act = YY_STATE_EOF(YY_START);
2496 goto do_action;
2497 }
2498
2499 else
2500 {
2501 if ( ! (yy_did_buffer_switch_on_eof) )
2502 YY_NEW_FILE;
2503 }
2504 break;
2505 }
2506
2507 case EOB_ACT_CONTINUE_SCAN:
2508 (yy_c_buf_p) =
2509 (yytext_ptr) + yy_amount_of_matched_text;
2510
2511 yy_current_state = yy_get_previous_state( );
2512
2513 yy_cp = (yy_c_buf_p);
2514 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2515 goto yy_match;
2516
2517 case EOB_ACT_LAST_MATCH:
2518 (yy_c_buf_p) =
2519 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
2520
2521 yy_current_state = yy_get_previous_state( );
2522
2523 yy_cp = (yy_c_buf_p);
2524 yy_bp = (yytext_ptr) + YY_MORE_ADJ;
2525 goto yy_find_action;
2526 }
2527 break;
2528 }
2529
2530 default:
2531 YY_FATAL_ERROR(
2532 "fatal flex scanner internal error--no action found" );
2533 } /* end of action switch */
2534 } /* end of scanning one token */
2535 } /* end of user's declarations */
2536 } /* end of yylex */
2537
2538 /* yy_get_next_buffer - try to read in a new buffer
2539 *
2540 * Returns a code representing an action:
2541 * EOB_ACT_LAST_MATCH -
2542 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2543 * EOB_ACT_END_OF_FILE - end of file
2544 */
2545 static int yy_get_next_buffer (void)
2546 {
2547 char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
2548 char *source = (yytext_ptr);
2549 yy_size_t number_to_move, i;
2550 int ret_val;
2551
2552 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
2553 YY_FATAL_ERROR(
2554 "fatal flex scanner internal error--end of buffer missed" );
2555
2556 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
2557 { /* Don't try to fill the buffer, so this is an EOF. */
2558 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
2559 {
2560 /* We matched a single character, the EOB, so
2561 * treat this as a final EOF.
2562 */
2563 return EOB_ACT_END_OF_FILE;
2564 }
2565
2566 else
2567 {
2568 /* We matched some text prior to the EOB, first
2569 * process it.
2570 */
2571 return EOB_ACT_LAST_MATCH;
2572 }
2573 }
2574
2575 /* Try to read more data. */
2576
2577 /* First move last chars to start of buffer. */
2578 number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1;
2579
2580 for ( i = 0; i < number_to_move; ++i )
2581 *(dest++) = *(source++);
2582
2583 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2584 /* don't do the read, it's not guaranteed to return an EOF,
2585 * just force an EOF
2586 */
2587 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
2588
2589 else
2590 {
2591 yy_size_t num_to_read =
2592 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
2593
2594 while ( num_to_read <= 0 )
2595 { /* Not enough room in the buffer - grow it. */
2596
2597 YY_FATAL_ERROR(
2598 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2599
2600 }
2601
2602 if ( num_to_read > YY_READ_BUF_SIZE )
2603 num_to_read = YY_READ_BUF_SIZE;
2604
2605 /* Read in more data. */
2606 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
2607 (yy_n_chars), num_to_read );
2608
2609 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2610 }
2611
2612 if ( (yy_n_chars) == 0 )
2613 {
2614 if ( number_to_move == YY_MORE_ADJ )
2615 {
2616 ret_val = EOB_ACT_END_OF_FILE;
2617 yyrestart(yyin );
2618 }
2619
2620 else
2621 {
2622 ret_val = EOB_ACT_LAST_MATCH;
2623 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
2624 YY_BUFFER_EOF_PENDING;
2625 }
2626 }
2627
2628 else
2629 ret_val = EOB_ACT_CONTINUE_SCAN;
2630
2631 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
2632 /* Extend the array by 50%, plus the number we really need. */
2633 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
2634 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
2635 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
2636 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
2637 }
2638
2639 (yy_n_chars) += number_to_move;
2640 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
2641 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
2642
2643 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
2644
2645 return ret_val;
2646 }
2647
2648 /* yy_get_previous_state - get the state just before the EOB char was reached */
2649
2650 static yy_state_type yy_get_previous_state (void)
2651 {
2652 yy_state_type yy_current_state;
2653 char *yy_cp;
2654
2655 yy_current_state = (yy_start);
2656
2657 (yy_state_ptr) = (yy_state_buf);
2658 *(yy_state_ptr)++ = yy_current_state;
2659
2660 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
2661 {
2662 YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2663 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2664 {
2665 yy_current_state = (int) yy_def[yy_current_state];
2666 if ( yy_current_state >= 800 )
2667 yy_c = yy_meta[(unsigned int) yy_c];
2668 }
2669 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2670 *(yy_state_ptr)++ = yy_current_state;
2671 }
2672
2673 return yy_current_state;
2674 }
2675
2676 /* yy_try_NUL_trans - try to make a transition on the NUL character
2677 *
2678 * synopsis
2679 * next_state = yy_try_NUL_trans( current_state );
2680 */
2681 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
2682 {
2683 int yy_is_jam;
2684
2685 YY_CHAR yy_c = 1;
2686 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2687 {
2688 yy_current_state = (int) yy_def[yy_current_state];
2689 if ( yy_current_state >= 800 )
2690 yy_c = yy_meta[(unsigned int) yy_c];
2691 }
2692 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2693 yy_is_jam = (yy_current_state == 799);
2694 if ( ! yy_is_jam )
2695 *(yy_state_ptr)++ = yy_current_state;
2696
2697 return yy_is_jam ? 0 : yy_current_state;
2698 }
2699
2700 #ifndef YY_NO_UNPUT
2701
2702 static void yyunput (int c, char * yy_bp )
2703 {
2704 char *yy_cp;
2705
2706 yy_cp = (yy_c_buf_p);
2707
2708 /* undo effects of setting up yytext */
2709 *yy_cp = (yy_hold_char);
2710
2711 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
2712 { /* need to shift things up to make room */
2713 /* +2 for EOB chars. */
2714 yy_size_t number_to_move = (yy_n_chars) + 2;
2715 char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
2716 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
2717 char *source =
2718 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
2719
2720 while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
2721 *--dest = *--source;
2722
2723 yy_cp += (int) (dest - source);
2724 yy_bp += (int) (dest - source);
2725 YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
2726 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
2727
2728 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
2729 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2730 }
2731
2732 *--yy_cp = (char) c;
2733
2734 if ( c == '\n' ){
2735 --yylineno;
2736 }
2737
2738 (yytext_ptr) = yy_bp;
2739 (yy_hold_char) = *yy_cp;
2740 (yy_c_buf_p) = yy_cp;
2741 }
2742
2743 #endif
2744
2745 #ifndef YY_NO_INPUT
2746 #ifdef __cplusplus
2747 static int yyinput (void)
2748 #else
2749 static int input (void)
2750 #endif
2751
2752 {
2753 int c;
2754
2755 *(yy_c_buf_p) = (yy_hold_char);
2756
2757 if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
2758 {
2759 /* yy_c_buf_p now points to the character we want to return.
2760 * If this occurs *before* the EOB characters, then it's a
2761 * valid NUL; if not, then we've hit the end of the buffer.
2762 */
2763 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
2764 /* This was really a NUL. */
2765 *(yy_c_buf_p) = '\0';
2766
2767 else
2768 { /* need more input */
2769 yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
2770 ++(yy_c_buf_p);
2771
2772 switch ( yy_get_next_buffer( ) )
2773 {
2774 case EOB_ACT_LAST_MATCH:
2775 /* This happens because yy_g_n_b()
2776 * sees that we've accumulated a
2777 * token and flags that we need to
2778 * try matching the token before
2779 * proceeding. But for input(),
2780 * there's no matching to consider.
2781 * So convert the EOB_ACT_LAST_MATCH
2782 * to EOB_ACT_END_OF_FILE.
2783 */
2784
2785 /* Reset buffer status. */
2786 yyrestart(yyin );
2787
2788 /*FALLTHROUGH*/
2789
2790 case EOB_ACT_END_OF_FILE:
2791 {
2792 if ( yywrap( ) )
2793 return EOF;
2794
2795 if ( ! (yy_did_buffer_switch_on_eof) )
2796 YY_NEW_FILE;
2797 #ifdef __cplusplus
2798 return yyinput();
2799 #else
2800 return input();
2801 #endif
2802 }
2803
2804 case EOB_ACT_CONTINUE_SCAN:
2805 (yy_c_buf_p) = (yytext_ptr) + offset;
2806 break;
2807 }
2808 }
2809 }
2810
2811 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
2812 *(yy_c_buf_p) = '\0'; /* preserve yytext */
2813 (yy_hold_char) = *++(yy_c_buf_p);
2814
2815 if ( c == '\n' )
2816
2817 yylineno++;
2818 ;
2819
2820 return c;
2821 }
2822 #endif /* ifndef YY_NO_INPUT */
2823
2824 /** Immediately switch to a different input stream.
2825 * @param input_file A readable stream.
2826 *
2827 * @note This function does not reset the start condition to @c INITIAL .
2828 */
2829 void yyrestart (FILE * input_file )
2830 {
2831
2832 if ( ! YY_CURRENT_BUFFER ){
2833 yyensure_buffer_stack ();
2834 YY_CURRENT_BUFFER_LVALUE =
2835 yy_create_buffer(yyin,YY_BUF_SIZE );
2836 }
2837
2838 yy_init_buffer(YY_CURRENT_BUFFER,input_file );
2839 yy_load_buffer_state( );
2840 }
2841
2842 /** Switch to a different input buffer.
2843 * @param new_buffer The new input buffer.
2844 *
2845 */
2846 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
2847 {
2848
2849 /* TODO. We should be able to replace this entire function body
2850 * with
2851 * yypop_buffer_state();
2852 * yypush_buffer_state(new_buffer);
2853 */
2854 yyensure_buffer_stack ();
2855 if ( YY_CURRENT_BUFFER == new_buffer )
2856 return;
2857
2858 if ( YY_CURRENT_BUFFER )
2859 {
2860 /* Flush out information for old buffer. */
2861 *(yy_c_buf_p) = (yy_hold_char);
2862 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
2863 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2864 }
2865
2866 YY_CURRENT_BUFFER_LVALUE = new_buffer;
2867 yy_load_buffer_state( );
2868
2869 /* We don't actually know whether we did this switch during
2870 * EOF (yywrap()) processing, but the only time this flag
2871 * is looked at is after yywrap() is called, so it's safe
2872 * to go ahead and always set it.
2873 */
2874 (yy_did_buffer_switch_on_eof) = 1;
2875 }
2876
2877 static void yy_load_buffer_state (void)
2878 {
2879 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2880 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2881 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
2882 (yy_hold_char) = *(yy_c_buf_p);
2883 }
2884
2885 /** Allocate and initialize an input buffer state.
2886 * @param file A readable stream.
2887 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
2888 *
2889 * @return the allocated buffer state.
2890 */
2891 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
2892 {
2893 YY_BUFFER_STATE b;
2894
2895 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
2896 if ( ! b )
2897 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2898
2899 b->yy_buf_size = (yy_size_t)size;
2900
2901 /* yy_ch_buf has to be 2 characters longer than the size given because
2902 * we need to put in 2 end-of-buffer characters.
2903 */
2904 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
2905 if ( ! b->yy_ch_buf )
2906 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2907
2908 b->yy_is_our_buffer = 1;
2909
2910 yy_init_buffer(b,file );
2911
2912 return b;
2913 }
2914
2915 /** Destroy the buffer.
2916 * @param b a buffer created with yy_create_buffer()
2917 *
2918 */
2919 void yy_delete_buffer (YY_BUFFER_STATE b )
2920 {
2921
2922 if ( ! b )
2923 return;
2924
2925 if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
2926 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
2927
2928 if ( b->yy_is_our_buffer )
2929 yyfree((void *) b->yy_ch_buf );
2930
2931 yyfree((void *) b );
2932 }
2933
2934 /* Initializes or reinitializes a buffer.
2935 * This function is sometimes called more than once on the same buffer,
2936 * such as during a yyrestart() or at EOF.
2937 */
2938 static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
2939
2940 {
2941 int oerrno = errno;
2942
2943 yy_flush_buffer(b );
2944
2945 b->yy_input_file = file;
2946 b->yy_fill_buffer = 1;
2947
2948 /* If b is the current buffer, then yy_init_buffer was _probably_
2949 * called from yyrestart() or through yy_get_next_buffer.
2950 * In that case, we don't want to reset the lineno or column.
2951 */
2952 if (b != YY_CURRENT_BUFFER){
2953 b->yy_bs_lineno = 1;
2954 b->yy_bs_column = 0;
2955 }
2956
2957 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2958
2959 errno = oerrno;
2960 }
2961
2962 /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
2963 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
2964 *
2965 */
2966 void yy_flush_buffer (YY_BUFFER_STATE b )
2967 {
2968 if ( ! b )
2969 return;
2970
2971 b->yy_n_chars = 0;
2972
2973 /* We always need two end-of-buffer characters. The first causes
2974 * a transition to the end-of-buffer state. The second causes
2975 * a jam in that state.
2976 */
2977 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2978 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2979
2980 b->yy_buf_pos = &b->yy_ch_buf[0];
2981
2982 b->yy_at_bol = 1;
2983 b->yy_buffer_status = YY_BUFFER_NEW;
2984
2985 if ( b == YY_CURRENT_BUFFER )
2986 yy_load_buffer_state( );
2987 }
2988
2989 /** Pushes the new state onto the stack. The new state becomes
2990 * the current state. This function will allocate the stack
2991 * if necessary.
2992 * @param new_buffer The new state.
2993 *
2994 */
2995 void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
2996 {
2997 if (new_buffer == NULL)
2998 return;
2999
3000 yyensure_buffer_stack();
3001
3002 /* This block is copied from yy_switch_to_buffer. */
3003 if ( YY_CURRENT_BUFFER )
3004 {
3005 /* Flush out information for old buffer. */
3006 *(yy_c_buf_p) = (yy_hold_char);
3007 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
3008 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
3009 }
3010
3011 /* Only push if top exists. Otherwise, replace top. */
3012 if (YY_CURRENT_BUFFER)
3013 (yy_buffer_stack_top)++;
3014 YY_CURRENT_BUFFER_LVALUE = new_buffer;
3015
3016 /* copied from yy_switch_to_buffer. */
3017 yy_load_buffer_state( );
3018 (yy_did_buffer_switch_on_eof) = 1;
3019 }
3020
3021 /** Removes and deletes the top of the stack, if present.
3022 * The next element becomes the new top.
3023 *
3024 */
3025 void yypop_buffer_state (void)
3026 {
3027 if (!YY_CURRENT_BUFFER)
3028 return;
3029
3030 yy_delete_buffer(YY_CURRENT_BUFFER );
3031 YY_CURRENT_BUFFER_LVALUE = NULL;
3032 if ((yy_buffer_stack_top) > 0)
3033 --(yy_buffer_stack_top);
3034
3035 if (YY_CURRENT_BUFFER) {
3036 yy_load_buffer_state( );
3037 (yy_did_buffer_switch_on_eof) = 1;
3038 }
3039 }
3040
3041 /* Allocates the stack if it does not exist.
3042 * Guarantees space for at least one push.
3043 */
3044 static void yyensure_buffer_stack (void)
3045 {
3046 yy_size_t num_to_alloc;
3047
3048 if (!(yy_buffer_stack)) {
3049
3050 /* First allocation is just for 2 elements, since we don't know if this
3051 * scanner will even need a stack. We use 2 instead of 1 to avoid an
3052 * immediate realloc on the next call.
3053 */
3054 num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
3055 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
3056 (num_to_alloc * sizeof(struct yy_buffer_state*)
3057 );
3058 if ( ! (yy_buffer_stack) )
3059 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
3060
3061 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
3062
3063 (yy_buffer_stack_max) = num_to_alloc;
3064 (yy_buffer_stack_top) = 0;
3065 return;
3066 }
3067
3068 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
3069
3070 /* Increase the buffer to prepare for a possible push. */
3071 yy_size_t grow_size = 8 /* arbitrary grow size */;
3072
3073 num_to_alloc = (yy_buffer_stack_max) + grow_size;
3074 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
3075 ((yy_buffer_stack),
3076 num_to_alloc * sizeof(struct yy_buffer_state*)
3077 );
3078 if ( ! (yy_buffer_stack) )
3079 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
3080
3081 /* zero only the new slots.*/
3082 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
3083 (yy_buffer_stack_max) = num_to_alloc;
3084 }
3085 }
3086
3087 /** Setup the input buffer state to scan directly from a user-specified character buffer.
3088 * @param base the character buffer
3089 * @param size the size in bytes of the character buffer
3090 *
3091 * @return the newly allocated buffer state object.
3092 */
3093 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
3094 {
3095 YY_BUFFER_STATE b;
3096
3097 if ( size < 2 ||
3098 base[size-2] != YY_END_OF_BUFFER_CHAR ||
3099 base[size-1] != YY_END_OF_BUFFER_CHAR )
3100 /* They forgot to leave room for the EOB's. */
3101 return 0;
3102
3103 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
3104 if ( ! b )
3105 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
3106
3107 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
3108 b->yy_buf_pos = b->yy_ch_buf = base;
3109 b->yy_is_our_buffer = 0;
3110 b->yy_input_file = 0;
3111 b->yy_n_chars = b->yy_buf_size;
3112 b->yy_is_interactive = 0;
3113 b->yy_at_bol = 1;
3114 b->yy_fill_buffer = 0;
3115 b->yy_buffer_status = YY_BUFFER_NEW;
3116
3117 yy_switch_to_buffer(b );
3118
3119 return b;
3120 }
3121
3122 /** Setup the input buffer state to scan a string. The next call to yylex() will
3123 * scan from a @e copy of @a str.
3124 * @param yystr a NUL-terminated string to scan
3125 *
3126 * @return the newly allocated buffer state object.
3127 * @note If you want to scan bytes that may contain NUL values, then use
3128 * yy_scan_bytes() instead.
3129 */
3130 YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
3131 {
3132
3133 return yy_scan_bytes(yystr,strlen(yystr) );
3134 }
3135
3136 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
3137 * scan from a @e copy of @a bytes.
3138 * @param yybytes the byte buffer to scan
3139 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
3140 *
3141 * @return the newly allocated buffer state object.
3142 */
3143 YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
3144 {
3145 YY_BUFFER_STATE b;
3146 char *buf;
3147 yy_size_t n;
3148 yy_size_t i;
3149
3150 /* Get memory for full buffer, including space for trailing EOB's. */
3151 n = _yybytes_len + 2;
3152 buf = (char *) yyalloc(n );
3153 if ( ! buf )
3154 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
3155
3156 for ( i = 0; i < _yybytes_len; ++i )
3157 buf[i] = yybytes[i];
3158
3159 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
3160
3161 b = yy_scan_buffer(buf,n );
3162 if ( ! b )
3163 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
3164
3165 /* It's okay to grow etc. this buffer, and we should throw it
3166 * away when we're done.
3167 */
3168 b->yy_is_our_buffer = 1;
3169
3170 return b;
3171 }
3172
3173 #ifndef YY_EXIT_FAILURE
3174 #define YY_EXIT_FAILURE 2
3175 #endif
3176
3177 static void yy_fatal_error (yyconst char* msg )
3178 {
3179 (void) fprintf( stderr, "%s\n", msg );
3180 exit( YY_EXIT_FAILURE );
3181 }
3182
3183 /* Redefine yyless() so it works in section 3 code. */
3184
3185 #undef yyless
3186 #define yyless(n) \
3187 do \
3188 { \
3189 /* Undo effects of setting up yytext. */ \
3190 int yyless_macro_arg = (n); \
3191 YY_LESS_LINENO(yyless_macro_arg);\
3192 yytext[yyleng] = (yy_hold_char); \
3193 (yy_c_buf_p) = yytext + yyless_macro_arg; \
3194 (yy_hold_char) = *(yy_c_buf_p); \
3195 *(yy_c_buf_p) = '\0'; \
3196 yyleng = yyless_macro_arg; \
3197 } \
3198 while ( 0 )
3199
3200 /* Accessor methods (get/set functions) to struct members. */
3201
3202 /** Get the current line number.
3203 *
3204 */
3205 int yyget_lineno (void)
3206 {
3207
3208 return yylineno;
3209 }
3210
3211 /** Get the input stream.
3212 *
3213 */
3214 FILE *yyget_in (void)
3215 {
3216 return yyin;
3217 }
3218
3219 /** Get the output stream.
3220 *
3221 */
3222 FILE *yyget_out (void)
3223 {
3224 return yyout;
3225 }
3226
3227 /** Get the length of the current token.
3228 *
3229 */
3230 yy_size_t yyget_leng (void)
3231 {
3232 return yyleng;
3233 }
3234
3235 /** Get the current token.
3236 *
3237 */
3238
3239 char *yyget_text (void)
3240 {
3241 return yytext;
3242 }
3243
3244 /** Set the current line number.
3245 * @param _line_number line number
3246 *
3247 */
3248 void yyset_lineno (int _line_number )
3249 {
3250
3251 yylineno = _line_number;
3252 }
3253
3254 /** Set the input stream. This does not discard the current
3255 * input buffer.
3256 * @param _in_str A readable stream.
3257 *
3258 * @see yy_switch_to_buffer
3259 */
3260 void yyset_in (FILE * _in_str )
3261 {
3262 yyin = _in_str ;
3263 }
3264
3265 void yyset_out (FILE * _out_str )
3266 {
3267 yyout = _out_str ;
3268 }
3269
3270 int yyget_debug (void)
3271 {
3272 return yy_flex_debug;
3273 }
3274
3275 void yyset_debug (int _bdebug )
3276 {
3277 yy_flex_debug = _bdebug ;
3278 }
3279
3280 static int yy_init_globals (void)
3281 {
3282 /* Initialization is the same as for the non-reentrant scanner.
3283 * This function is called from yylex_destroy(), so don't allocate here.
3284 */
3285
3286 /* We do not touch yylineno unless the option is enabled. */
3287 yylineno = 1;
3288
3289 (yy_buffer_stack) = 0;
3290 (yy_buffer_stack_top) = 0;
3291 (yy_buffer_stack_max) = 0;
3292 (yy_c_buf_p) = (char *) 0;
3293 (yy_init) = 0;
3294 (yy_start) = 0;
3295
3296 (yy_state_buf) = 0;
3297 (yy_state_ptr) = 0;
3298 (yy_full_match) = 0;
3299 (yy_lp) = 0;
3300
3301 /* Defined in main.c */
3302 #ifdef YY_STDINIT
3303 yyin = stdin;
3304 yyout = stdout;
3305 #else
3306 yyin = (FILE *) 0;
3307 yyout = (FILE *) 0;
3308 #endif
3309
3310 /* For future reference: Set errno on error, since we are called by
3311 * yylex_init()
3312 */
3313 return 0;
3314 }
3315
3316 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
3317 int yylex_destroy (void)
3318 {
3319
3320 /* Pop the buffer stack, destroying each element. */
3321 while(YY_CURRENT_BUFFER){
3322 yy_delete_buffer(YY_CURRENT_BUFFER );
3323 YY_CURRENT_BUFFER_LVALUE = NULL;
3324 yypop_buffer_state();
3325 }
3326
3327 /* Destroy the stack itself. */
3328 yyfree((yy_buffer_stack) );
3329 (yy_buffer_stack) = NULL;
3330
3331 yyfree ( (yy_state_buf) );
3332 (yy_state_buf) = NULL;
3333
3334 /* Reset the globals. This is important in a non-reentrant scanner so the next time
3335 * yylex() is called, initialization will occur. */
3336 yy_init_globals( );
3337
3338 return 0;
3339 }
3340
3341 /*
3342 * Internal utility routines.
3343 */
3344
3345 #ifndef yytext_ptr
3346 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
3347 {
3348
3349 int i;
3350 for ( i = 0; i < n; ++i )
3351 s1[i] = s2[i];
3352 }
3353 #endif
3354
3355 #ifdef YY_NEED_STRLEN
3356 static int yy_flex_strlen (yyconst char * s )
3357 {
3358 int n;
3359 for ( n = 0; s[n]; ++n )
3360 ;
3361
3362 return n;
3363 }
3364 #endif
3365
3366 void *yyalloc (yy_size_t size )
3367 {
3368 return (void *) malloc( size );
3369 }
3370
3371 void *yyrealloc (void * ptr, yy_size_t size )
3372 {
3373
3374 /* The cast to (char *) in the following accommodates both
3375 * implementations that use char* generic pointers, and those
3376 * that use void* generic pointers. It works with the latter
3377 * because both ANSI C and C++ allow castless assignment from
3378 * any pointer type to void*, and deal with argument conversions
3379 * as though doing an assignment.
3380 */
3381 return (void *) realloc( (char *) ptr, size );
3382 }
3383
3384 void yyfree (void * ptr )
3385 {
3386 free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
3387 }
3388
3389 #define YYTABLES_NAME "yytables"
3390
3391 #line 336 "../../../../texk/web2c/omegafonts/pl-lexer.l"
3392
3393
3394
3395 /* added by Thomas Esser, suggested by Olaf Weber */
3396 #ifdef yywrap
3397 #undef yywrap
3398 #endif
3399
3400 int
3401 yywrap (void)
3402 { return 1; }
3403
3404 static void
3405 scan_int(unsigned base)
3406 {
3407 register unsigned j, q = 0x10000 / base, c0=0, c1=0, i=1;
3408
3409 if ((base<BASE_MIN) || (base>BASE_MAX))
3410 internal_error_1("scan_int (base=%d)", base);
3411 while ((yytext[i]==' ') || (yytext[i]=='\t')) {
3412 yytext[i] = ' ';
3413 i++;
3414 }
3415 for (; i<yyleng; i++) {
3416 j = yytext[i];
3417 if (j>='A') j = j + '0' + 10 - 'A' ;
3418 c0 = base*c0 + (c1 / q);
3419 c1 = base*(c1 % q) + j - '0';
3420 if (c0 > 0xffff) {
3421 lex_error_s("numeric value (%s) too large; set to 0", yytext);
3422 c0=0; c1=0; break;
3423 }
3424 }
3425 yylval.yint = c0 * 0x10000 + c1;
3426 }
3427
3428 static void
3429 scan_fix(void)
3430 {
3431 unsigned i=1;
3432 unsigned sign = 1;
3433 unsigned j=0;
3434 unsigned acc=0;
3435 unsigned int_part;
3436 unsigned fraction_digits[7];
3437
3438 while ((yytext[i]==' ') || (yytext[i]=='\t') ||
3439 (yytext[i]=='+') || (yytext[i]=='-')) {
3440 if (yytext[i]=='\t') yytext[i] = ' ';
3441 if (yytext[i]=='-') sign *= -1;
3442 i++;
3443 }
3444 acc=0;
3445 while ((i<yyleng) && (yytext[i]!='.')) {
3446 acc = acc*10 + yytext[i]-'0';
3447 i++;
3448 if (acc >=0x800 ) {
3449 lex_error_s("fix value (%s) too large; set to 0", yytext);
3450 yylval.yfix = 0;
3451 return;
3452 }
3453 }
3454 int_part = acc; acc = 0;
3455 if (i < yyleng) {
3456 i++;
3457 while ((i<yyleng) && j<7) {
3458 fraction_digits[j] = 0x200000*(yytext[i]-'0');
3459 i++; j++;
3460 }
3461 while (j>0) {acc = fraction_digits[--j] + acc / 10;}
3462 acc = (acc + 10) / 20;
3463 }
3464 if ((acc > UNITY) && (int_part=2047)) {
3465 lex_error_s("fix value (%s) too large; set to 0", yytext);
3466 yylval.yfix = 0;
3467 return;
3468 }
3469 yylval.yfix = sign * (int_part*UNITY + acc);
3470 }
3471
3472 static void
3473 scan_char(void)
3474 {
3475 register unsigned i=1;
3476
3477 while ((yytext[i]==' ') || (yytext[i]=='\t')) i++;
3478 if ((yytext[i]<041) || (yytext[i]>0176) ||
3479 (yytext[i]=='(') || (yytext[i]==')')) {
3480 lex_error_1("C value (H %X) must be ASCII (not paren); "
3481 "set to 'A'", yytext[i]);
3482 yylval.yint = 'A';
3483 } else yylval.yint = yytext[i];
3484 }
3485
3486 static void
3487 scan_string(const char *attribute, unsigned keep, unsigned length)
3488 {
3489 register unsigned c, saved_ptr = 0, paren_level = 0;
3490 unsigned error_msg = FALSE;
3491
3492 if ((keep<KEEP_MIN) || (keep>KEEP_MAX))
3493 internal_error_1("scan_string (keep=%d)", keep);
3494 while (((c = input()) != EOF) &&
3495 ((c == ' ') || (c == '\t') || (c == '\n'))) {
3496 if (c == '\n') {line_number++;}
3497 }
3498 if (c==EOF) fatal_error_s("EOF while scanning %s", attribute);
3499 while ((c != EOF) &&
3500 ((c != ')') || (paren_level>0))) {
3501 if (c==')') {
3502 paren_level--;
3503 if (keep==KEEP_CONVERT) {
3504 lex_error_s_1("%s character (H %X) converted to slash",
3505 attribute, c);
3506 c = '/';
3507 }
3508 } else if (c=='(') {
3509 paren_level++;
3510 if (keep==KEEP_CONVERT) {
3511 lex_error_s_1("%s character (H %X) converted to slash",
3512 attribute, c);
3513 c = '/';
3514 }
3515 } else if ((c<' ') || (c>='~')) {
3516 if (c=='\n') line_number++;
3517 if (keep==KEEP_CONVERT) {
3518 lex_error_s_1("%s character (H %X) converted to blank",
3519 attribute, c);
3520 c = ' ';
3521 }
3522 }
3523 if (saved_ptr<(MAX_PTR-3))
3524 saved_text[saved_ptr++] = c;
3525 else if (error_msg == FALSE) {
3526 lex_error_s_1("%s string longer than %d characters; truncating",
3527 attribute, MAX_PTR);
3528 error_msg = TRUE;
3529 }
3530 c = input();
3531 }
3532 if (c==EOF) fatal_error_s("EOF while scanning %s", attribute);
3533 unput(')');
3534 saved_text[saved_ptr++] = '\0';
3535 if (keep!=KEEP_NONE) {
3536 if ((length != 0) && (strlen(saved_text)>length)) {
3537 lex_error_s_1("%s string limited to %d characters; truncated",
3538 attribute, length);
3539 saved_text[length] = '\0';
3540 }
3541 yylval.ystring = xstrdup(saved_text);
3542 } else {
3543 yylval.ystring = NULL;
3544 }
3545 }
3546
3547 static void
3548 scan_hex_string(void)
3549 {
3550 register unsigned c, saved_ptr = 0;
3551 unsigned error_msg = FALSE;
3552
3553 while ((c = input()) != EOF) {
3554 if (((c >= '0') && (c <= '9')) || ((c >= 'A') && (c <= 'F'))) {
3555 if (saved_ptr<(MAX_PTR-3))
3556 saved_text[saved_ptr++] = c;
3557 else if (error_msg == FALSE) {
3558 lex_error_1("SPECIALHEX string longer than %d characters; truncating",
3559 MAX_PTR);
3560 error_msg = TRUE;
3561 }
3562 } else if (c == '\n') {
3563 line_number++;
3564 } else if ((c != ' ') && (c != '\t')) {
3565 unput(c);
3566 break;
3567 }
3568 }
3569 if (c == EOF) fatal_error_0("EOF while scanning SPECIALHEX");
3570 saved_text[saved_ptr++] = '\0';
3571 yylval.ystring = xstrdup(saved_text);
3572 }
3573