1 /* A lexical scanner generated by flex */
3 /* Scanner skeleton version:
8 #define YY_FLEX_MAJOR_VERSION 2
9 #define YY_FLEX_MINOR_VERSION 5
14 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
27 /* Use prototypes in function declarations. */
30 /* The "const" storage-class-modifier is valid. */
33 #else /* ! __cplusplus */
41 #endif /* ! __cplusplus */
60 #define YY_PROTO(proto) proto
62 #define YY_PROTO(proto) ()
65 /* Returned upon end-of-file. */
68 /* Promotes a possibly negative, possibly signed char to an unsigned
69 * integer for use as an array index. If the signed char is negative,
70 * we want to instead treat it as an 8-bit unsigned char, hence the
73 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
75 /* Enter a start condition. This macro really ought to take a parameter,
76 * but we do it the disgusting crufty way forced on us by the ()-less
77 * definition of BEGIN.
79 #define BEGIN yy_start = 1 + 2 *
81 /* Translate the current start state into a value that can be later handed
82 * to BEGIN to return to the state. The YYSTATE alias is for lex
85 #define YY_START ((yy_start - 1) / 2)
86 #define YYSTATE YY_START
88 /* Action number for EOF rule of a given start state. */
89 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
91 /* Special action meaning "start processing a new file". */
92 #define YY_NEW_FILE yyrestart( yyin )
94 #define YY_END_OF_BUFFER_CHAR 0
96 /* Size of default input buffer. */
97 #define YY_BUF_SIZE 16384
99 typedef struct yy_buffer_state *YY_BUFFER_STATE;
102 extern FILE *yyin, *yyout;
104 #define EOB_ACT_CONTINUE_SCAN 0
105 #define EOB_ACT_END_OF_FILE 1
106 #define EOB_ACT_LAST_MATCH 2
108 /* The funky do-while in the following #define is used to turn the definition
109 * int a single C statement (which needs a semi-colon terminator). This
110 * avoids problems with code like:
112 * if ( condition_holds )
115 * do_something_else();
117 * Prior to using the do-while the compiler would get upset at the
118 * "else" because it interpreted the "if" statement as being all
119 * done when it reached the ';' after the yyless() call.
122 /* Return all but the first 'n' matched characters back to the input stream. */
127 /* Undo effects of setting up yytext. */ \
128 *yy_cp = yy_hold_char; \
129 YY_RESTORE_YY_MORE_OFFSET \
130 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
131 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
135 #define unput(c) yyunput( c, yytext_ptr )
137 /* The following is because we cannot portably get our hands on size_t
138 * (without autoconf's help, which isn't available because we want
139 * flex-generated scanners to compile on their own).
141 typedef unsigned int yy_size_t;
144 struct yy_buffer_state
148 char *yy_ch_buf; /* input buffer */
149 char *yy_buf_pos; /* current position in input buffer */
151 /* Size of input buffer in bytes, not including room for EOB
154 yy_size_t yy_buf_size;
156 /* Number of characters read into yy_ch_buf, not including EOB
161 /* Whether we "own" the buffer - i.e., we know we created it,
162 * and can realloc() it to grow it, and should free() it to
165 int yy_is_our_buffer;
167 /* Whether this is an "interactive" input source; if so, and
168 * if we're using stdio for input, then we want to use getc()
169 * instead of fread(), to make sure we stop fetching input after
172 int yy_is_interactive;
174 /* Whether we're considered to be at the beginning of a line.
175 * If so, '^' rules will be active on the next match, otherwise
180 /* Whether to try to fill the input buffer when we reach the
185 int yy_buffer_status;
186 #define YY_BUFFER_NEW 0
187 #define YY_BUFFER_NORMAL 1
188 /* When an EOF's been seen but there's still some text to process
189 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
190 * shouldn't try reading from the input source any more. We might
191 * still have a bunch of tokens to match, though, because of
192 * possible backing-up.
194 * When we actually see the EOF, we change the status to "new"
195 * (via yyrestart()), so that the user can continue scanning by
196 * just pointing yyin at a new input file.
198 #define YY_BUFFER_EOF_PENDING 2
201 static YY_BUFFER_STATE yy_current_buffer = 0;
203 /* We provide macros for accessing buffer states in case in the
204 * future we want to put the buffer states in a more general
207 #define YY_CURRENT_BUFFER yy_current_buffer
210 /* yy_hold_char holds the character lost when yytext is formed. */
211 static char yy_hold_char;
213 static int yy_n_chars; /* number of characters read into yy_ch_buf */
218 /* Points to current character in buffer. */
219 static char *yy_c_buf_p = (char *) 0;
220 static int yy_init = 1; /* whether we need to initialize */
221 static int yy_start = 0; /* start state number */
223 /* Flag which is used to allow yywrap()'s to do buffer switches
224 * instead of setting up a fresh yyin. A bit of a hack ...
226 static int yy_did_buffer_switch_on_eof;
228 void yyrestart YY_PROTO(( FILE *input_file ));
230 void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
231 void yy_load_buffer_state YY_PROTO(( void ));
232 YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
233 void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
234 void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
235 void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
236 #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
238 YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
239 YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
240 YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
242 static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
243 static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
244 static void yy_flex_free YY_PROTO(( void * ));
246 #define yy_new_buffer yy_create_buffer
248 #define yy_set_interactive(is_interactive) \
250 if ( ! yy_current_buffer ) \
251 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
252 yy_current_buffer->yy_is_interactive = is_interactive; \
255 #define yy_set_bol(at_bol) \
257 if ( ! yy_current_buffer ) \
258 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
259 yy_current_buffer->yy_at_bol = at_bol; \
262 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
264 typedef unsigned char YY_CHAR;
265 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
266 typedef int yy_state_type;
268 #define yytext_ptr yytext
270 static yy_state_type yy_get_previous_state YY_PROTO(( void ));
271 static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
272 static int yy_get_next_buffer YY_PROTO(( void ));
273 static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
275 /* Done after the current pattern has been matched and before the
276 * corresponding action - sets up yytext.
278 #define YY_DO_BEFORE_ACTION \
279 yytext_ptr = yy_bp; \
280 yyleng = (int) (yy_cp - yy_bp); \
281 yy_hold_char = *yy_cp; \
285 #define YY_NUM_RULES 30
286 #define YY_END_OF_BUFFER 31
287 static yyconst short int yy_accept[571] =
289 0, 0, 31, 29, 29, 29, 29, 29, 29, 29,
290 29, 29, 29, 29, 29, 29, 29, 29, 29, 0,
291 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
292 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
293 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
294 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
295 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
296 0, 0, 0, 0, 0, 14, 0, 0, 0, 0,
297 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
298 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
300 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
301 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
302 0, 0, 26, 25, 19, 18, 17, 16, 15, 28,
303 27, 21, 20, 24, 23, 22, 12, 13, 0, 0,
304 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
305 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
306 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
307 0, 0, 0, 12, 13, 0, 0, 0, 0, 0,
308 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
309 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
311 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
312 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
313 0, 0, 0, 0, 0, 0, 0, 0, 0, 9,
314 9, 0, 0, 0, 0, 0, 0, 0, 0, 0,
315 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
316 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
317 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
318 0, 0, 0, 0, 0, 9, 0, 0, 0, 0,
319 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
320 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
322 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
323 0, 0, 0, 0, 0, 0, 0, 0, 0, 9,
324 7, 7, 0, 0, 0, 0, 0, 0, 0, 0,
325 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
326 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
327 0, 10, 11, 0, 0, 0, 0, 0, 0, 0,
328 0, 0, 0, 0, 0, 0, 7, 0, 0, 0,
329 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
330 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
331 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
333 0, 0, 0, 7, 0, 0, 0, 0, 0, 0,
334 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
335 0, 0, 0, 0, 0, 0, 0, 0, 0, 8,
336 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
337 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
338 0, 0, 0, 0, 0, 0, 0, 0, 6, 6,
339 6, 6, 6, 6, 6, 0, 0, 0, 0, 0,
340 0, 0, 0, 0, 5, 0, 5, 0, 0, 0,
341 0, 0, 0, 3, 0, 0, 0, 0, 0, 0,
342 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
344 0, 0, 0, 0, 5, 5, 5, 0, 0, 8,
345 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
346 0, 0, 0, 0, 5, 0, 0, 6, 6, 0,
347 6, 0, 0, 0, 0, 0, 0, 0, 0, 0,
348 0, 3, 0, 0, 6, 0, 0, 0, 0, 0,
349 0, 6, 6, 0, 2, 4, 1, 1, 0, 6,
350 0, 0, 0, 1, 0, 0, 1, 2, 4, 0
353 static yyconst int yy_ec[256] =
355 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
356 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
357 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
358 1, 2, 1, 1, 1, 1, 1, 1, 1, 4,
359 4, 1, 5, 6, 7, 1, 8, 9, 10, 9,
360 9, 9, 9, 9, 9, 9, 9, 11, 1, 1,
361 1, 1, 1, 1, 12, 1, 13, 14, 15, 16,
362 17, 18, 1, 19, 1, 1, 20, 21, 22, 23,
363 1, 1, 24, 25, 26, 1, 27, 1, 1, 1,
364 28, 1, 29, 1, 1, 1, 30, 31, 32, 33,
366 34, 16, 35, 36, 37, 19, 1, 38, 39, 40,
367 41, 42, 1, 43, 44, 45, 46, 47, 27, 1,
368 48, 1, 1, 1, 1, 1, 1, 1, 1, 1,
369 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
370 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
371 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
372 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
373 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
374 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
375 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
377 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
378 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
379 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
380 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
381 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
385 static yyconst int yy_meta[49] =
387 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
388 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
389 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
390 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
391 1, 1, 1, 1, 1, 1, 1, 1
394 static yyconst short int yy_base[571] =
396 0, 0, 907, 908, 37, 52, 55, 78, 24, 872,
397 25, 44, 48, 864, 872, 61, 46, 869, 81, 70,
398 82, 84, 882, 85, 86, 877, 87, 875, 69, 70,
399 72, 860, 79, 82, 854, 84, 852, 109, 111, 127,
400 115, 125, 853, 860, 862, 862, 855, 851, 13, 87,
401 850, 842, 843, 842, 844, 845, 838, 849, 849, 851,
402 838, 854, 853, 852, 851, 850, 849, 848, 847, 846,
403 845, 844, 843, 842, 841, 908, 820, 819, 818, 817,
404 816, 815, 814, 813, 812, 811, 810, 809, 808, 807,
405 127, 135, 92, 817, 816, 51, 819, 807, 815, 812,
407 145, 138, 140, 129, 148, 156, 154, 157, 159, 162,
408 843, 163, 168, 170, 171, 174, 176, 177, 178, 186,
409 815, 814, 908, 908, 908, 908, 908, 908, 908, 908,
410 908, 908, 908, 908, 908, 908, 188, 194, 799, 806,
411 808, 808, 798, 147, 147, 790, 791, 793, 197, 205,
412 206, 796, 789, 793, 785, 225, 828, 799, 798, 825,
413 824, 789, 794, 784, 791, 778, 786, 789, 774, 784,
414 782, 787, 786, 908, 908, 199, 172, 197, 208, 179,
415 212, 219, 222, 811, 227, 221, 226, 223, 233, 266,
416 810, 766, 779, 779, 268, 206, 774, 773, 210, 776,
418 764, 772, 769, 754, 758, 798, 751, 767, 763, 763,
419 756, 746, 760, 762, 747, 770, 769, 271, 750, 743,
420 747, 739, 754, 781, 780, 745, 741, 748, 744, 277,
421 280, 282, 775, 257, 774, 741, 731, 291, 771, 729,
422 736, 738, 738, 728, 245, 251, 720, 721, 723, 294,
423 716, 295, 729, 719, 731, 729, 296, 729, 710, 724,
424 717, 716, 299, 307, 752, 708, 721, 721, 707, 747,
425 717, 713, 707, 316, 310, 327, 313, 318, 702, 696,
426 292, 709, 708, 258, 711, 699, 707, 704, 304, 228,
427 312, 331, 293, 338, 341, 340, 735, 342, 343, 345,
429 693, 733, 686, 699, 684, 346, 701, 701, 700, 347,
430 349, 726, 693, 683, 677, 690, 680, 691, 344, 719,
431 358, 360, 718, 717, 675, 682, 684, 684, 674, 323,
432 330, 666, 667, 669, 378, 672, 665, 669, 661, 676,
433 703, 702, 667, 663, 670, 666, 697, 375, 655, 377,
434 649, 908, 908, 383, 385, 387, 653, 647, 651, 691,
435 658, 680, 389, 398, 688, 392, 401, 369, 363, 348,
436 389, 402, 403, 406, 413, 687, 410, 411, 414, 418,
437 686, 642, 655, 655, 641, 681, 651, 647, 641, 677,
438 415, 420, 676, 675, 674, 673, 631, 424, 630, 631,
440 389, 221, 637, 444, 445, 632, 625, 629, 621, 636,
441 663, 662, 627, 623, 630, 626, 447, 657, 456, 656,
442 623, 613, 607, 620, 610, 621, 640, 429, 648, 638,
443 611, 607, 601, 605, 598, 609, 609, 451, 454, 639,
444 595, 608, 608, 594, 634, 604, 600, 594, 456, 459,
445 469, 589, 583, 587, 627, 594, 463, 465, 594, 593,
446 579, 591, 580, 578, 581, 474, 478, 618, 585, 575,
447 569, 582, 572, 583, 480, 483, 492, 486, 490, 611,
448 610, 609, 567, 598, 495, 578, 577, 563, 575, 560,
449 570, 568, 504, 498, 507, 558, 552, 556, 596, 563,
451 509, 594, 511, 513, 522, 524, 533, 593, 527, 908,
452 546, 545, 559, 543, 557, 559, 544, 535, 585, 584,
453 583, 525, 482, 538, 475, 527, 531, 908, 908, 485,
454 908, 482, 462, 464, 474, 541, 451, 430, 543, 552,
455 546, 908, 388, 378, 908, 220, 548, 550, 554, 556,
456 558, 908, 908, 190, 111, 64, 560, 562, 54, 908,
457 564, 566, 568, 570, 572, 574, 908, 908, 908, 908
460 static yyconst short int yy_def[571] =
462 570, 1, 570, 570, 570, 570, 570, 570, 570, 570,
463 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
464 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
465 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
466 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
467 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
468 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
469 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
470 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
471 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
473 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
474 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
475 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
476 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
477 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
478 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
479 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
480 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
481 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
482 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
484 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
485 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
486 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
487 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
488 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
489 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
490 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
491 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
492 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
493 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
495 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
496 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
497 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
498 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
499 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
500 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
501 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
502 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
503 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
504 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
506 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
507 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
508 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
509 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
510 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
511 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
512 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
513 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
514 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
515 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
517 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
518 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
519 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
520 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
521 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
522 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
523 570, 570, 570, 570, 570, 570, 570, 570, 570, 0
526 static yyconst short int yy_nxt[957] =
528 4, 5, 5, 5, 6, 4, 7, 4, 8, 8,
529 4, 9, 4, 10, 4, 11, 4, 4, 12, 13,
530 14, 15, 4, 16, 17, 4, 18, 19, 4, 9,
531 4, 4, 10, 4, 4, 4, 4, 4, 13, 14,
532 15, 4, 4, 16, 17, 4, 4, 4, 20, 21,
533 108, 22, 109, 23, 24, 540, 25, 26, 46, 27,
534 38, 38, 28, 39, 39, 43, 29, 47, 30, 44,
535 31, 32, 33, 48, 562, 34, 35, 50, 36, 40,
536 143, 57, 37, 62, 41, 41, 42, 42, 51, 49,
537 54, 58, 60, 63, 55, 64, 144, 66, 69, 71,
539 74, 77, 79, 61, 81, 65, 56, 67, 70, 72,
540 75, 84, 78, 80, 86, 82, 89, 91, 91, 92,
541 92, 561, 85, 101, 101, 87, 40, 90, 40, 110,
542 151, 41, 41, 139, 111, 137, 137, 140, 93, 151,
543 94, 151, 95, 138, 138, 96, 97, 98, 99, 151,
544 100, 149, 149, 150, 150, 151, 93, 156, 151, 94,
545 151, 157, 154, 151, 156, 97, 98, 99, 157, 151,
546 100, 151, 156, 218, 152, 151, 157, 156, 156, 156,
547 218, 157, 157, 157, 181, 153, 182, 156, 158, 183,
548 155, 157, 161, 162, 184, 163, 174, 174, 218, 159,
550 218, 164, 175, 175, 160, 188, 189, 151, 168, 218,
551 165, 149, 149, 218, 190, 190, 166, 220, 167, 169,
552 218, 170, 218, 218, 223, 171, 156, 218, 218, 335,
553 221, 230, 230, 195, 195, 219, 196, 560, 197, 244,
554 198, 231, 231, 199, 200, 201, 202, 240, 203, 554,
555 222, 241, 225, 226, 196, 245, 435, 197, 232, 224,
556 227, 228, 233, 200, 201, 202, 436, 232, 203, 238,
557 229, 233, 218, 337, 234, 234, 239, 239, 274, 263,
558 264, 274, 294, 232, 295, 275, 275, 329, 276, 276,
559 277, 278, 238, 296, 335, 156, 156, 156, 297, 157,
561 157, 157, 281, 330, 282, 335, 283, 310, 310, 284,
562 285, 286, 287, 335, 288, 311, 311, 274, 320, 320,
563 281, 321, 321, 282, 319, 319, 322, 322, 274, 285,
564 286, 287, 335, 325, 288, 320, 320, 326, 340, 335,
565 336, 335, 335, 335, 335, 338, 335, 156, 354, 405,
566 354, 157, 362, 362, 363, 355, 355, 356, 356, 364,
567 373, 364, 374, 365, 405, 365, 366, 366, 367, 367,
568 405, 343, 375, 339, 342, 344, 156, 376, 156, 335,
569 157, 408, 157, 345, 354, 341, 380, 380, 354, 346,
570 405, 392, 392, 393, 393, 393, 393, 398, 398, 364,
572 404, 404, 364, 405, 405, 406, 365, 405, 407, 404,
573 404, 405, 405, 399, 405, 405, 156, 400, 433, 417,
574 157, 401, 402, 418, 403, 553, 419, 419, 427, 427,
575 428, 409, 430, 430, 434, 552, 400, 457, 457, 412,
576 539, 401, 402, 414, 413, 364, 405, 410, 417, 365,
577 411, 415, 405, 438, 439, 449, 450, 417, 416, 466,
578 466, 418, 467, 467, 475, 475, 476, 477, 477, 476,
579 451, 484, 484, 485, 485, 493, 501, 478, 479, 493,
580 502, 501, 494, 494, 536, 502, 495, 495, 503, 503,
581 476, 504, 504, 501, 506, 506, 546, 502, 507, 507,
583 505, 505, 476, 510, 510, 493, 519, 519, 493, 545,
584 501, 544, 518, 518, 543, 519, 519, 524, 524, 525,
585 525, 526, 526, 501, 537, 501, 405, 502, 540, 502,
586 525, 525, 503, 503, 501, 527, 527, 541, 502, 542,
587 542, 505, 505, 535, 535, 536, 538, 538, 539, 547,
588 547, 548, 548, 540, 551, 551, 555, 555, 556, 556,
589 549, 550, 557, 557, 558, 558, 559, 559, 563, 563,
590 564, 564, 565, 565, 566, 566, 567, 567, 567, 567,
591 568, 568, 569, 569, 405, 405, 493, 534, 533, 532,
592 531, 530, 529, 528, 335, 501, 523, 405, 522, 521,
594 520, 517, 516, 515, 514, 513, 512, 511, 509, 508,
595 335, 335, 335, 500, 499, 498, 376, 497, 496, 405,
596 492, 491, 490, 489, 488, 487, 486, 483, 335, 482,
597 481, 480, 474, 473, 472, 405, 471, 470, 469, 468,
598 405, 465, 464, 463, 462, 461, 460, 459, 458, 218,
599 428, 456, 455, 454, 297, 453, 452, 335, 451, 448,
600 447, 446, 445, 405, 405, 444, 443, 442, 441, 440,
601 437, 432, 431, 429, 218, 218, 218, 354, 151, 426,
602 425, 424, 335, 423, 422, 421, 420, 335, 405, 364,
603 363, 397, 218, 396, 395, 394, 391, 390, 151, 389,
605 388, 387, 386, 335, 335, 385, 384, 383, 382, 381,
606 379, 378, 377, 372, 371, 370, 369, 368, 151, 151,
607 274, 361, 360, 359, 184, 358, 357, 218, 353, 352,
608 351, 350, 349, 348, 151, 347, 335, 334, 333, 332,
609 331, 328, 327, 324, 323, 318, 317, 316, 218, 315,
610 314, 313, 312, 218, 309, 308, 307, 306, 305, 304,
611 303, 302, 301, 111, 300, 299, 298, 293, 292, 291,
612 290, 289, 238, 280, 279, 151, 232, 273, 272, 271,
613 270, 218, 218, 269, 268, 267, 266, 265, 262, 261,
614 260, 259, 258, 257, 256, 255, 254, 253, 252, 151,
616 251, 250, 249, 248, 247, 246, 243, 242, 237, 236,
617 235, 151, 218, 217, 216, 215, 214, 213, 212, 211,
618 210, 209, 208, 207, 206, 151, 151, 205, 204, 156,
619 194, 193, 192, 191, 187, 186, 185, 180, 179, 178,
620 177, 176, 173, 172, 151, 148, 147, 146, 145, 142,
621 141, 136, 135, 134, 133, 132, 131, 130, 129, 128,
622 127, 126, 125, 124, 123, 136, 135, 134, 133, 132,
623 131, 130, 129, 128, 127, 126, 125, 124, 123, 122,
624 121, 120, 119, 118, 117, 116, 115, 114, 113, 112,
625 107, 106, 105, 104, 103, 102, 76, 88, 83, 76,
627 73, 68, 59, 53, 52, 45, 570, 3, 570, 570,
628 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
629 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
630 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
631 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
632 570, 570, 570, 570, 570, 570
635 static yyconst short int yy_chk[957] =
637 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
638 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
639 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
640 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
641 1, 1, 1, 1, 1, 1, 1, 1, 5, 5,
642 49, 5, 49, 5, 5, 559, 5, 5, 11, 5,
643 6, 6, 5, 7, 7, 9, 5, 11, 5, 9,
644 5, 5, 5, 12, 556, 5, 5, 13, 5, 8,
645 96, 17, 5, 20, 8, 8, 8, 8, 13, 12,
646 16, 17, 19, 20, 16, 21, 96, 22, 24, 25,
648 27, 29, 30, 19, 31, 21, 16, 22, 24, 25,
649 27, 33, 29, 30, 34, 31, 36, 38, 38, 39,
650 39, 555, 33, 41, 41, 34, 42, 36, 40, 50,
651 104, 42, 42, 93, 50, 91, 91, 93, 40, 102,
652 40, 103, 40, 92, 92, 40, 40, 40, 40, 105,
653 40, 101, 101, 101, 101, 107, 40, 106, 108, 40,
654 109, 106, 104, 110, 112, 40, 40, 40, 112, 113,
655 40, 114, 115, 177, 102, 116, 115, 117, 118, 119,
656 180, 117, 118, 119, 144, 103, 144, 120, 106, 145,
657 105, 120, 109, 110, 145, 112, 137, 137, 178, 107,
659 176, 113, 138, 138, 108, 149, 149, 151, 117, 179,
660 114, 150, 150, 181, 151, 151, 115, 177, 116, 118,
661 182, 119, 186, 183, 180, 120, 156, 187, 185, 290,
662 178, 188, 188, 156, 156, 176, 156, 554, 156, 199,
663 156, 189, 189, 156, 156, 156, 156, 196, 156, 546,
664 179, 196, 182, 183, 156, 199, 402, 156, 234, 181,
665 185, 186, 234, 156, 156, 156, 402, 190, 156, 195,
666 187, 190, 218, 290, 190, 190, 195, 195, 230, 218,
667 218, 231, 245, 232, 245, 230, 230, 284, 231, 231,
668 232, 232, 238, 246, 293, 250, 252, 257, 246, 250,
670 252, 257, 238, 284, 238, 289, 238, 263, 263, 238,
671 238, 238, 238, 291, 238, 264, 264, 274, 275, 275,
672 238, 277, 277, 238, 274, 274, 278, 278, 276, 238,
673 238, 238, 292, 281, 238, 276, 276, 281, 293, 294,
674 289, 296, 295, 298, 299, 291, 300, 306, 310, 370,
675 311, 306, 319, 319, 319, 310, 310, 311, 311, 321,
676 330, 322, 330, 321, 369, 322, 321, 321, 322, 322,
677 368, 296, 331, 292, 295, 298, 348, 331, 350, 335,
678 348, 370, 350, 299, 354, 294, 335, 335, 356, 300,
679 371, 354, 354, 355, 355, 356, 356, 363, 363, 364,
681 366, 366, 367, 372, 373, 368, 367, 374, 369, 367,
682 367, 377, 378, 364, 375, 379, 391, 364, 401, 380,
683 391, 364, 364, 380, 364, 544, 380, 380, 392, 392,
684 392, 371, 398, 398, 401, 543, 364, 428, 428, 374,
685 538, 364, 364, 377, 375, 404, 405, 372, 417, 404,
686 373, 378, 537, 405, 405, 417, 417, 419, 379, 438,
687 438, 419, 439, 439, 449, 449, 449, 450, 450, 450,
688 451, 457, 457, 458, 458, 466, 525, 451, 451, 467,
689 525, 475, 466, 466, 535, 475, 467, 467, 475, 475,
690 475, 476, 476, 477, 478, 478, 534, 477, 479, 479,
692 477, 477, 477, 485, 485, 493, 494, 494, 495, 533,
693 501, 532, 493, 493, 530, 495, 495, 501, 501, 503,
694 503, 504, 504, 505, 523, 506, 522, 505, 526, 506,
695 505, 505, 506, 506, 507, 509, 509, 526, 507, 527,
696 527, 507, 507, 518, 518, 518, 524, 524, 524, 536,
697 536, 539, 539, 540, 541, 541, 547, 547, 548, 548,
698 540, 540, 549, 549, 550, 550, 551, 551, 557, 557,
699 558, 558, 561, 561, 562, 562, 563, 563, 564, 564,
700 565, 565, 566, 566, 521, 520, 519, 517, 516, 515,
701 514, 513, 512, 511, 508, 502, 500, 499, 498, 497,
703 496, 492, 491, 490, 489, 488, 487, 486, 484, 483,
704 482, 481, 480, 474, 473, 472, 471, 470, 469, 468,
705 465, 464, 463, 462, 461, 460, 459, 456, 455, 454,
706 453, 452, 448, 447, 446, 445, 444, 443, 442, 441,
707 440, 437, 436, 435, 434, 433, 432, 431, 430, 429,
708 427, 426, 425, 424, 423, 422, 421, 420, 418, 416,
709 415, 414, 413, 412, 411, 410, 409, 408, 407, 406,
710 403, 400, 399, 397, 396, 395, 394, 393, 390, 389,
711 388, 387, 386, 385, 384, 383, 382, 381, 376, 365,
712 362, 361, 360, 359, 358, 357, 351, 349, 347, 346,
714 345, 344, 343, 342, 341, 340, 339, 338, 337, 336,
715 334, 333, 332, 329, 328, 327, 326, 325, 324, 323,
716 320, 318, 317, 316, 315, 314, 313, 312, 309, 308,
717 307, 305, 304, 303, 302, 301, 297, 288, 287, 286,
718 285, 283, 282, 280, 279, 273, 272, 271, 270, 269,
719 268, 267, 266, 265, 262, 261, 260, 259, 258, 256,
720 255, 254, 253, 251, 249, 248, 247, 244, 243, 242,
721 241, 240, 239, 237, 236, 235, 233, 229, 228, 227,
722 226, 225, 224, 223, 222, 221, 220, 219, 217, 216,
723 215, 214, 213, 212, 211, 210, 209, 208, 207, 206,
725 205, 204, 203, 202, 201, 200, 198, 197, 194, 193,
726 192, 191, 184, 173, 172, 171, 170, 169, 168, 167,
727 166, 165, 164, 163, 162, 161, 160, 159, 158, 157,
728 155, 154, 153, 152, 148, 147, 146, 143, 142, 141,
729 140, 139, 122, 121, 111, 100, 99, 98, 97, 95,
730 94, 90, 89, 88, 87, 86, 85, 84, 83, 82,
731 81, 80, 79, 78, 77, 75, 74, 73, 72, 71,
732 70, 69, 68, 67, 66, 65, 64, 63, 62, 61,
733 60, 59, 58, 57, 56, 55, 54, 53, 52, 51,
734 48, 47, 46, 45, 44, 43, 37, 35, 32, 28,
736 26, 23, 18, 15, 14, 10, 3, 570, 570, 570,
737 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
738 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
739 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
740 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
741 570, 570, 570, 570, 570, 570
744 static yy_state_type yy_last_accepting_state;
745 static char *yy_last_accepting_cpos;
747 /* The intent behind this definition is that it'll catch
748 * any uses of REJECT which flex missed.
750 #define REJECT reject_used_but_not_detected
751 #define yymore() yymore_used_but_not_detected
752 #define YY_MORE_ADJ 0
753 #define YY_RESTORE_YY_MORE_OFFSET
761 /* Since we're looking at a string at a time, don't worry about
762 * wrapping to the next buffer.
765 #define YY_SKIP_YYWRAP
769 /* This is the tricky thing that makes this function cool. We
770 * replace the traditional int yylex(void) declaration with our
771 * dparsetime() declaration, essentially piggy-backing off the
772 * utility of the yylex() function and adding what we need to make
773 * the parsing function useful to us.
775 #define YY_DECL struct tws *dparsetime(char *lexstr)
777 /* yyerminate() is called after the input string is matched to
778 * completion (actually, when the lexer reaches an EOF). The only
779 * thing that really needs to be in this macro function is the
780 * return call, which must be substituted inline into dparsetime.
783 #define yyterminate() (void)yy_delete_buffer(lexhandle); \
784 if(!(tw.tw_flags & TW_SUCC)) { \
785 return (struct tws *)NULL; \
787 if(tw.tw_year < 1970) \
788 tw.tw_year += 1900; \
789 if(tw.tw_year < 1970) \
794 * Patchable flag that says how to interpret NN/NN/NN dates. When
795 * true, we do it European style: DD/MM/YY. When false, we do it
796 * American style: MM/DD/YY. Of course, these are all non-RFC822
799 int europeandate = 0;
802 * Table to convert month names to numeric month. We use the
803 * fact that the low order 5 bits of the sum of the 2nd & 3rd
804 * characters of the name is a hash with no collisions for the 12
805 * valid month names. (The mask to 5 bits maps any combination of
806 * upper and lower case into the same hash value).
808 static int month_map[] = {
841 * Lookup table for day-of-week using the same hash trick as for above name-of-
842 * month table, but using the first and second character, not second and third.
844 * Compute index into table using: (day_name[0] & 7) + (day_name[1] & 4)
846 static int day_map[] = {
861 /* The SET* macros will parse for the appropriate field, and leave the
862 * cp pointer at the first character after the desired field. Be
863 * careful with variable-length fields or alpha-num mixes.
865 * The SKIP* macros skip over characters of a particular class and
866 * leave cp at the position of the first character that doesn't match
867 * that class. Correspondingly, SKIPTO* skips until it reaches a
868 * character of a particular class.
871 #define INIT() { cp = yytext;}
872 #define SETWDAY() { tw.tw_wday= day_map[(cp[0] & 7) + (cp[1] & 4)]; \
873 tw.tw_flags &= ~TW_SDAY; tw.tw_flags |= TW_SEXP; \
875 #define SETMON() { cp++; \
876 tw.tw_mon = month_map[(cp[0] + cp[1]) & 0x1f]; \
878 #define SETMON_NUM() { tw.tw_mon = atoi(cp)-1; \
880 #define SETYEAR() { tw.tw_year = atoi(cp); \
882 #define SETDAY() { tw.tw_mday = atoi(cp); \
883 tw.tw_flags |= TW_YES; \
885 #define SETTIME() { tw.tw_hour = atoi(cp); \
888 tw.tw_min = atoi(cp); \
891 tw.tw_sec = atoi(++cp); SKIPD(); } }
892 #define SETZONE(x) { tw.tw_zone = ((x)/100)*60+(x)%100; \
893 tw.tw_flags |= TW_SZEXP; \
895 #define SETDST() { tw.tw_flags |= TW_DST; }
896 #define SKIPD() { while ( isdigit(*cp++) ) ; \
898 #define SKIPTOD() { while ( !isdigit(*cp++) ) ; \
900 #define SKIPA() { while ( isalpha(*cp++) ) ; \
902 #define SKIPTOA() { while ( !isalpha(*cp++) ) ; \
904 #define SKIPSP() { while ( isspace(*cp++) ) ; \
906 #define SKIPTOSP() { while ( !isspace(*cp++) ) ; \
909 #ifdef ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST
910 # ifdef TIME_WITH_SYS_TIME
911 # include <sys/time.h>
914 # ifdef HAVE_SYS_TIME_H
915 # include <sys/time.h>
922 zonehack (struct tws *tw)
924 register struct tm *tm;
926 if (dmktime (tw) == (time_t) -1)
929 tm = localtime (&tw->tw_clock);
931 tw->tw_flags |= TW_DST;
935 #endif /* ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST */
936 /* The year can either be 2 digits, or 4. However, after
937 Y2K, we found that some MUA were reporting the year 100, hence
938 the middle term here. yyterminate() resolves the actual
939 issues with 2-digit years.
942 /* Macros after this point can all be overridden by user definitions in
946 #ifndef YY_SKIP_YYWRAP
948 extern "C" int yywrap YY_PROTO(( void ));
950 extern int yywrap YY_PROTO(( void ));
955 static void yyunput YY_PROTO(( int c, char *buf_ptr ));
959 static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
962 #ifdef YY_NEED_STRLEN
963 static int yy_flex_strlen YY_PROTO(( yyconst char * ));
968 static int yyinput YY_PROTO(( void ));
970 static int input YY_PROTO(( void ));
975 static int yy_start_stack_ptr = 0;
976 static int yy_start_stack_depth = 0;
977 static int *yy_start_stack = 0;
978 #ifndef YY_NO_PUSH_STATE
979 static void yy_push_state YY_PROTO(( int new_state ));
981 #ifndef YY_NO_POP_STATE
982 static void yy_pop_state YY_PROTO(( void ));
984 #ifndef YY_NO_TOP_STATE
985 static int yy_top_state YY_PROTO(( void ));
989 #define YY_NO_PUSH_STATE 1
990 #define YY_NO_POP_STATE 1
991 #define YY_NO_TOP_STATE 1
994 #ifdef YY_MALLOC_DECL
1002 /* Just try to get by without declaring the routines. This will fail
1003 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
1004 * or sizeof(void*) != sizeof(int).
1009 /* Amount of stuff to slurp up with each read. */
1010 #ifndef YY_READ_BUF_SIZE
1011 #define YY_READ_BUF_SIZE 8192
1014 /* Copy whatever the last rule matched to the standard output. */
1017 /* This used to be an fputs(), but since the string might contain NUL's,
1018 * we now use fwrite().
1020 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1023 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1024 * is returned in "result".
1027 #define YY_INPUT(buf,result,max_size) \
1028 if ( yy_current_buffer->yy_is_interactive ) \
1031 for ( n = 0; n < max_size && \
1032 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1033 buf[n] = (char) c; \
1035 buf[n++] = (char) c; \
1036 if ( c == EOF && ferror( yyin ) ) \
1037 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1040 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
1041 && ferror( yyin ) ) \
1042 YY_FATAL_ERROR( "input in flex scanner failed" );
1045 /* No semi-colon after return; correct usage is to write "yyterminate();" -
1046 * we don't want an extra ';' after the "return" because that will cause
1047 * some compilers to complain about unreachable statements.
1050 #define yyterminate() return YY_NULL
1053 /* Number of entries by which start-condition stack grows. */
1054 #ifndef YY_START_STACK_INCR
1055 #define YY_START_STACK_INCR 25
1058 /* Report a fatal error. */
1059 #ifndef YY_FATAL_ERROR
1060 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1063 /* Default declaration of generated scanner - a define so the user can
1064 * easily add parameters.
1067 #define YY_DECL int yylex YY_PROTO(( void ))
1070 /* Code executed at the beginning of each rule, after yytext and yyleng
1073 #ifndef YY_USER_ACTION
1074 #define YY_USER_ACTION
1077 /* Code executed at the end of each rule. */
1079 #define YY_BREAK break;
1082 #define YY_RULE_SETUP \
1087 register yy_state_type yy_current_state;
1088 register char *yy_cp = NULL, *yy_bp = NULL;
1089 register int yy_act;
1091 #line 223 "dtimep.lex"
1094 /* This section begins the definition of dparsetime().
1095 Put here any local variable definitions and initializations */
1097 YY_BUFFER_STATE lexhandle;
1100 static struct tws tw;
1102 memset(&tw,0,sizeof(struct tws));
1104 lexhandle = yy_scan_string(lexstr);
1117 yy_start = 1; /* first start state */
1125 if ( ! yy_current_buffer )
1127 yy_create_buffer( yyin, YY_BUF_SIZE );
1129 yy_load_buffer_state();
1132 while ( 1 ) /* loops until end-of-file is reached */
1136 /* Support of yytext. */
1137 *yy_cp = yy_hold_char;
1139 /* yy_bp points to the position in yy_ch_buf of the start of
1144 yy_current_state = yy_start;
1148 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1149 if ( yy_accept[yy_current_state] )
1151 yy_last_accepting_state = yy_current_state;
1152 yy_last_accepting_cpos = yy_cp;
1154 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1156 yy_current_state = (int) yy_def[yy_current_state];
1157 if ( yy_current_state >= 571 )
1158 yy_c = yy_meta[(unsigned int) yy_c];
1160 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1163 while ( yy_base[yy_current_state] != 908 );
1166 yy_act = yy_accept[yy_current_state];
1168 { /* have to back up */
1169 yy_cp = yy_last_accepting_cpos;
1170 yy_current_state = yy_last_accepting_state;
1171 yy_act = yy_accept[yy_current_state];
1174 YY_DO_BEFORE_ACTION;
1177 do_action: /* This label is used only to access EOF actions. */
1181 { /* beginning of action switch */
1182 case 0: /* must back up */
1183 /* undo the effects of YY_DO_BEFORE_ACTION */
1184 *yy_cp = yy_hold_char;
1185 yy_cp = yy_last_accepting_cpos;
1186 yy_current_state = yy_last_accepting_state;
1187 goto yy_find_action;
1191 #line 238 "dtimep.lex"
1207 #line 251 "dtimep.lex"
1223 #line 263 "dtimep.lex"
1237 #line 273 "dtimep.lex"
1253 #line 285 "dtimep.lex"
1267 #line 295 "dtimep.lex"
1281 #line 305 "dtimep.lex"
1293 #line 313 "dtimep.lex"
1315 #line 331 "dtimep.lex"
1335 #line 348 "dtimep.lex"
1340 #line 349 "dtimep.lex"
1345 #line 351 "dtimep.lex"
1350 #ifdef ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST
1352 #endif /* ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST */
1358 #line 360 "dtimep.lex"
1363 #ifdef ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST
1365 #endif /* ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST */
1372 #line 370 "dtimep.lex"
1373 INIT(); SETZONE(0); yyterminate();
1377 #line 371 "dtimep.lex"
1378 INIT(); SETZONE(0); yyterminate();
1382 #line 372 "dtimep.lex"
1383 INIT(); SETZONE(-500); yyterminate();
1387 #line 373 "dtimep.lex"
1388 { INIT(); SETDST(); SETZONE(-500);
1393 #line 375 "dtimep.lex"
1394 INIT(); SETZONE(-600); yyterminate();
1398 #line 376 "dtimep.lex"
1399 { INIT(); SETDST(); SETZONE(-600);
1404 #line 378 "dtimep.lex"
1405 INIT(); SETZONE(-700); yyterminate();
1409 #line 379 "dtimep.lex"
1410 { INIT(); SETDST(); SETZONE(-700);
1415 #line 381 "dtimep.lex"
1416 INIT(); SETZONE(-800); yyterminate();
1420 #line 382 "dtimep.lex"
1421 { INIT(); SETDST(); SETZONE(-800);
1426 #line 384 "dtimep.lex"
1427 INIT(); SETZONE(-330); yyterminate();
1431 #line 385 "dtimep.lex"
1432 INIT(); SETZONE(-400); yyterminate();
1436 #line 386 "dtimep.lex"
1437 { INIT(); SETDST(); SETZONE(-400);
1442 #line 388 "dtimep.lex"
1443 INIT(); SETZONE(-1000); yyterminate();
1447 #line 389 "dtimep.lex"
1448 { INIT(); SETDST(); SETZONE(-1000);
1453 #line 391 "dtimep.lex"
1458 #line 392 "dtimep.lex"
1461 case YY_STATE_EOF(INITIAL):
1464 case YY_END_OF_BUFFER:
1466 /* Amount of text matched not including the EOB char. */
1467 int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
1469 /* Undo the effects of YY_DO_BEFORE_ACTION. */
1470 *yy_cp = yy_hold_char;
1471 YY_RESTORE_YY_MORE_OFFSET
1473 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
1475 /* We're scanning a new file or input source. It's
1476 * possible that this happened because the user
1477 * just pointed yyin at a new source and called
1478 * yylex(). If so, then we have to assure
1479 * consistency between yy_current_buffer and our
1480 * globals. Here is the right place to do so, because
1481 * this is the first action (other than possibly a
1482 * back-up) that will match for the new input source.
1484 yy_n_chars = yy_current_buffer->yy_n_chars;
1485 yy_current_buffer->yy_input_file = yyin;
1486 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
1489 /* Note that here we test for yy_c_buf_p "<=" to the position
1490 * of the first EOB in the buffer, since yy_c_buf_p will
1491 * already have been incremented past the NUL character
1492 * (since all states make transitions on EOB to the
1493 * end-of-buffer state). Contrast this with the test
1496 if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
1497 { /* This was really a NUL. */
1498 yy_state_type yy_next_state;
1500 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
1502 yy_current_state = yy_get_previous_state();
1504 /* Okay, we're now positioned to make the NUL
1505 * transition. We couldn't have
1506 * yy_get_previous_state() go ahead and do it
1507 * for us because it doesn't know how to deal
1508 * with the possibility of jamming (and we don't
1509 * want to build jamming into it because then it
1510 * will run more slowly).
1513 yy_next_state = yy_try_NUL_trans( yy_current_state );
1515 yy_bp = yytext_ptr + YY_MORE_ADJ;
1517 if ( yy_next_state )
1519 /* Consume the NUL. */
1520 yy_cp = ++yy_c_buf_p;
1521 yy_current_state = yy_next_state;
1528 goto yy_find_action;
1532 else switch ( yy_get_next_buffer() )
1534 case EOB_ACT_END_OF_FILE:
1536 yy_did_buffer_switch_on_eof = 0;
1540 /* Note: because we've taken care in
1541 * yy_get_next_buffer() to have set up
1542 * yytext, we can now set up
1543 * yy_c_buf_p so that if some total
1544 * hoser (like flex itself) wants to
1545 * call the scanner after we return the
1546 * YY_NULL, it'll still work - another
1547 * YY_NULL will get returned.
1549 yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
1551 yy_act = YY_STATE_EOF(YY_START);
1557 if ( ! yy_did_buffer_switch_on_eof )
1563 case EOB_ACT_CONTINUE_SCAN:
1565 yytext_ptr + yy_amount_of_matched_text;
1567 yy_current_state = yy_get_previous_state();
1570 yy_bp = yytext_ptr + YY_MORE_ADJ;
1573 case EOB_ACT_LAST_MATCH:
1575 &yy_current_buffer->yy_ch_buf[yy_n_chars];
1577 yy_current_state = yy_get_previous_state();
1580 yy_bp = yytext_ptr + YY_MORE_ADJ;
1581 goto yy_find_action;
1588 "fatal flex scanner internal error--no action found" );
1589 } /* end of action switch */
1590 } /* end of scanning one token */
1591 } /* end of yylex */
1594 /* yy_get_next_buffer - try to read in a new buffer
1596 * Returns a code representing an action:
1597 * EOB_ACT_LAST_MATCH -
1598 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1599 * EOB_ACT_END_OF_FILE - end of file
1602 static int yy_get_next_buffer()
1604 register char *dest = yy_current_buffer->yy_ch_buf;
1605 register char *source = yytext_ptr;
1606 register int number_to_move, i;
1609 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
1611 "fatal flex scanner internal error--end of buffer missed" );
1613 if ( yy_current_buffer->yy_fill_buffer == 0 )
1614 { /* Don't try to fill the buffer, so this is an EOF. */
1615 if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
1617 /* We matched a single character, the EOB, so
1618 * treat this as a final EOF.
1620 return EOB_ACT_END_OF_FILE;
1625 /* We matched some text prior to the EOB, first
1628 return EOB_ACT_LAST_MATCH;
1632 /* Try to read more data. */
1634 /* First move last chars to start of buffer. */
1635 number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
1637 for ( i = 0; i < number_to_move; ++i )
1638 *(dest++) = *(source++);
1640 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1641 /* don't do the read, it's not guaranteed to return an EOF,
1644 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
1649 yy_current_buffer->yy_buf_size - number_to_move - 1;
1651 while ( num_to_read <= 0 )
1652 { /* Not enough room in the buffer - grow it. */
1653 #ifdef YY_USES_REJECT
1655 "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
1658 /* just a shorter name for the current buffer */
1659 YY_BUFFER_STATE b = yy_current_buffer;
1661 int yy_c_buf_p_offset =
1662 (int) (yy_c_buf_p - b->yy_ch_buf);
1664 if ( b->yy_is_our_buffer )
1666 int new_size = b->yy_buf_size * 2;
1668 if ( new_size <= 0 )
1669 b->yy_buf_size += b->yy_buf_size / 8;
1671 b->yy_buf_size *= 2;
1673 b->yy_ch_buf = (char *)
1674 /* Include room in for 2 EOB chars. */
1675 yy_flex_realloc( (void *) b->yy_ch_buf,
1676 b->yy_buf_size + 2 );
1679 /* Can't grow it, we don't own it. */
1682 if ( ! b->yy_ch_buf )
1684 "fatal error - scanner input buffer overflow" );
1686 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
1688 num_to_read = yy_current_buffer->yy_buf_size -
1693 if ( num_to_read > YY_READ_BUF_SIZE )
1694 num_to_read = YY_READ_BUF_SIZE;
1696 /* Read in more data. */
1697 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
1698 yy_n_chars, num_to_read );
1700 yy_current_buffer->yy_n_chars = yy_n_chars;
1703 if ( yy_n_chars == 0 )
1705 if ( number_to_move == YY_MORE_ADJ )
1707 ret_val = EOB_ACT_END_OF_FILE;
1713 ret_val = EOB_ACT_LAST_MATCH;
1714 yy_current_buffer->yy_buffer_status =
1715 YY_BUFFER_EOF_PENDING;
1720 ret_val = EOB_ACT_CONTINUE_SCAN;
1722 yy_n_chars += number_to_move;
1723 yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
1724 yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
1726 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
1732 /* yy_get_previous_state - get the state just before the EOB char was reached */
1734 static yy_state_type yy_get_previous_state()
1736 register yy_state_type yy_current_state;
1737 register char *yy_cp;
1739 yy_current_state = yy_start;
1741 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
1743 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1744 if ( yy_accept[yy_current_state] )
1746 yy_last_accepting_state = yy_current_state;
1747 yy_last_accepting_cpos = yy_cp;
1749 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1751 yy_current_state = (int) yy_def[yy_current_state];
1752 if ( yy_current_state >= 571 )
1753 yy_c = yy_meta[(unsigned int) yy_c];
1755 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1758 return yy_current_state;
1762 /* yy_try_NUL_trans - try to make a transition on the NUL character
1765 * next_state = yy_try_NUL_trans( current_state );
1768 #ifdef YY_USE_PROTOS
1769 static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
1771 static yy_state_type yy_try_NUL_trans( yy_current_state )
1772 yy_state_type yy_current_state;
1775 register int yy_is_jam;
1776 register char *yy_cp = yy_c_buf_p;
1778 register YY_CHAR yy_c = 1;
1779 if ( yy_accept[yy_current_state] )
1781 yy_last_accepting_state = yy_current_state;
1782 yy_last_accepting_cpos = yy_cp;
1784 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1786 yy_current_state = (int) yy_def[yy_current_state];
1787 if ( yy_current_state >= 571 )
1788 yy_c = yy_meta[(unsigned int) yy_c];
1790 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1791 yy_is_jam = (yy_current_state == 570);
1793 return yy_is_jam ? 0 : yy_current_state;
1798 #ifdef YY_USE_PROTOS
1799 static void yyunput( int c, register char *yy_bp )
1801 static void yyunput( c, yy_bp )
1803 register char *yy_bp;
1806 register char *yy_cp = yy_c_buf_p;
1808 /* undo effects of setting up yytext */
1809 *yy_cp = yy_hold_char;
1811 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
1812 { /* need to shift things up to make room */
1813 /* +2 for EOB chars. */
1814 register int number_to_move = yy_n_chars + 2;
1815 register char *dest = &yy_current_buffer->yy_ch_buf[
1816 yy_current_buffer->yy_buf_size + 2];
1817 register char *source =
1818 &yy_current_buffer->yy_ch_buf[number_to_move];
1820 while ( source > yy_current_buffer->yy_ch_buf )
1821 *--dest = *--source;
1823 yy_cp += (int) (dest - source);
1824 yy_bp += (int) (dest - source);
1825 yy_current_buffer->yy_n_chars =
1826 yy_n_chars = yy_current_buffer->yy_buf_size;
1828 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
1829 YY_FATAL_ERROR( "flex scanner push-back overflow" );
1832 *--yy_cp = (char) c;
1836 yy_hold_char = *yy_cp;
1839 #endif /* ifndef YY_NO_UNPUT */
1843 static int yyinput()
1850 *yy_c_buf_p = yy_hold_char;
1852 if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
1854 /* yy_c_buf_p now points to the character we want to return.
1855 * If this occurs *before* the EOB characters, then it's a
1856 * valid NUL; if not, then we've hit the end of the buffer.
1858 if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
1859 /* This was really a NUL. */
1863 { /* need more input */
1864 int offset = yy_c_buf_p - yytext_ptr;
1867 switch ( yy_get_next_buffer() )
1869 case EOB_ACT_LAST_MATCH:
1870 /* This happens because yy_g_n_b()
1871 * sees that we've accumulated a
1872 * token and flags that we need to
1873 * try matching the token before
1874 * proceeding. But for input(),
1875 * there's no matching to consider.
1876 * So convert the EOB_ACT_LAST_MATCH
1877 * to EOB_ACT_END_OF_FILE.
1880 /* Reset buffer status. */
1885 case EOB_ACT_END_OF_FILE:
1890 if ( ! yy_did_buffer_switch_on_eof )
1899 case EOB_ACT_CONTINUE_SCAN:
1900 yy_c_buf_p = yytext_ptr + offset;
1906 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
1907 *yy_c_buf_p = '\0'; /* preserve yytext */
1908 yy_hold_char = *++yy_c_buf_p;
1915 #ifdef YY_USE_PROTOS
1916 void yyrestart( FILE *input_file )
1918 void yyrestart( input_file )
1922 if ( ! yy_current_buffer )
1923 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
1925 yy_init_buffer( yy_current_buffer, input_file );
1926 yy_load_buffer_state();
1930 #ifdef YY_USE_PROTOS
1931 void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
1933 void yy_switch_to_buffer( new_buffer )
1934 YY_BUFFER_STATE new_buffer;
1937 if ( yy_current_buffer == new_buffer )
1940 if ( yy_current_buffer )
1942 /* Flush out information for old buffer. */
1943 *yy_c_buf_p = yy_hold_char;
1944 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
1945 yy_current_buffer->yy_n_chars = yy_n_chars;
1948 yy_current_buffer = new_buffer;
1949 yy_load_buffer_state();
1951 /* We don't actually know whether we did this switch during
1952 * EOF (yywrap()) processing, but the only time this flag
1953 * is looked at is after yywrap() is called, so it's safe
1954 * to go ahead and always set it.
1956 yy_did_buffer_switch_on_eof = 1;
1960 #ifdef YY_USE_PROTOS
1961 void yy_load_buffer_state( void )
1963 void yy_load_buffer_state()
1966 yy_n_chars = yy_current_buffer->yy_n_chars;
1967 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
1968 yyin = yy_current_buffer->yy_input_file;
1969 yy_hold_char = *yy_c_buf_p;
1973 #ifdef YY_USE_PROTOS
1974 YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
1976 YY_BUFFER_STATE yy_create_buffer( file, size )
1983 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
1985 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1987 b->yy_buf_size = size;
1989 /* yy_ch_buf has to be 2 characters longer than the size given because
1990 * we need to put in 2 end-of-buffer characters.
1992 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
1993 if ( ! b->yy_ch_buf )
1994 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
1996 b->yy_is_our_buffer = 1;
1998 yy_init_buffer( b, file );
2004 #ifdef YY_USE_PROTOS
2005 void yy_delete_buffer( YY_BUFFER_STATE b )
2007 void yy_delete_buffer( b )
2014 if ( b == yy_current_buffer )
2015 yy_current_buffer = (YY_BUFFER_STATE) 0;
2017 if ( b->yy_is_our_buffer )
2018 yy_flex_free( (void *) b->yy_ch_buf );
2020 yy_flex_free( (void *) b );
2024 #ifndef YY_ALWAYS_INTERACTIVE
2025 #ifndef YY_NEVER_INTERACTIVE
2026 extern int isatty YY_PROTO(( int ));
2030 #ifdef YY_USE_PROTOS
2031 void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
2033 void yy_init_buffer( b, file )
2040 yy_flush_buffer( b );
2042 b->yy_input_file = file;
2043 b->yy_fill_buffer = 1;
2045 #if YY_ALWAYS_INTERACTIVE
2046 b->yy_is_interactive = 1;
2048 #if YY_NEVER_INTERACTIVE
2049 b->yy_is_interactive = 0;
2051 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2057 #ifdef YY_USE_PROTOS
2058 void yy_flush_buffer( YY_BUFFER_STATE b )
2060 void yy_flush_buffer( b )
2070 /* We always need two end-of-buffer characters. The first causes
2071 * a transition to the end-of-buffer state. The second causes
2072 * a jam in that state.
2074 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2075 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2077 b->yy_buf_pos = &b->yy_ch_buf[0];
2080 b->yy_buffer_status = YY_BUFFER_NEW;
2082 if ( b == yy_current_buffer )
2083 yy_load_buffer_state();
2087 #ifndef YY_NO_SCAN_BUFFER
2088 #ifdef YY_USE_PROTOS
2089 YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
2091 YY_BUFFER_STATE yy_scan_buffer( base, size )
2099 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2100 base[size-1] != YY_END_OF_BUFFER_CHAR )
2101 /* They forgot to leave room for the EOB's. */
2104 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2106 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2108 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2109 b->yy_buf_pos = b->yy_ch_buf = base;
2110 b->yy_is_our_buffer = 0;
2111 b->yy_input_file = 0;
2112 b->yy_n_chars = b->yy_buf_size;
2113 b->yy_is_interactive = 0;
2115 b->yy_fill_buffer = 0;
2116 b->yy_buffer_status = YY_BUFFER_NEW;
2118 yy_switch_to_buffer( b );
2125 #ifndef YY_NO_SCAN_STRING
2126 #ifdef YY_USE_PROTOS
2127 YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
2129 YY_BUFFER_STATE yy_scan_string( yy_str )
2130 yyconst char *yy_str;
2134 for ( len = 0; yy_str[len]; ++len )
2137 return yy_scan_bytes( yy_str, len );
2142 #ifndef YY_NO_SCAN_BYTES
2143 #ifdef YY_USE_PROTOS
2144 YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
2146 YY_BUFFER_STATE yy_scan_bytes( bytes, len )
2147 yyconst char *bytes;
2156 /* Get memory for full buffer, including space for trailing EOB's. */
2158 buf = (char *) yy_flex_alloc( n );
2160 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2162 for ( i = 0; i < len; ++i )
2165 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
2167 b = yy_scan_buffer( buf, n );
2169 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2171 /* It's okay to grow etc. this buffer, and we should throw it
2172 * away when we're done.
2174 b->yy_is_our_buffer = 1;
2181 #ifndef YY_NO_PUSH_STATE
2182 #ifdef YY_USE_PROTOS
2183 static void yy_push_state( int new_state )
2185 static void yy_push_state( new_state )
2189 if ( yy_start_stack_ptr >= yy_start_stack_depth )
2193 yy_start_stack_depth += YY_START_STACK_INCR;
2194 new_size = yy_start_stack_depth * sizeof( int );
2196 if ( ! yy_start_stack )
2197 yy_start_stack = (int *) yy_flex_alloc( new_size );
2200 yy_start_stack = (int *) yy_flex_realloc(
2201 (void *) yy_start_stack, new_size );
2203 if ( ! yy_start_stack )
2205 "out of memory expanding start-condition stack" );
2208 yy_start_stack[yy_start_stack_ptr++] = YY_START;
2215 #ifndef YY_NO_POP_STATE
2216 static void yy_pop_state()
2218 if ( --yy_start_stack_ptr < 0 )
2219 YY_FATAL_ERROR( "start-condition stack underflow" );
2221 BEGIN(yy_start_stack[yy_start_stack_ptr]);
2226 #ifndef YY_NO_TOP_STATE
2227 static int yy_top_state()
2229 return yy_start_stack[yy_start_stack_ptr - 1];
2233 #ifndef YY_EXIT_FAILURE
2234 #define YY_EXIT_FAILURE 2
2237 #ifdef YY_USE_PROTOS
2238 static void yy_fatal_error( yyconst char msg[] )
2240 static void yy_fatal_error( msg )
2244 (void) fprintf( stderr, "%s\n", msg );
2245 exit( YY_EXIT_FAILURE );
2250 /* Redefine yyless() so it works in section 3 code. */
2256 /* Undo effects of setting up yytext. */ \
2257 yytext[yyleng] = yy_hold_char; \
2258 yy_c_buf_p = yytext + n; \
2259 yy_hold_char = *yy_c_buf_p; \
2260 *yy_c_buf_p = '\0'; \
2266 /* Internal utility routines. */
2269 #ifdef YY_USE_PROTOS
2270 static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
2272 static void yy_flex_strncpy( s1, s2, n )
2279 for ( i = 0; i < n; ++i )
2284 #ifdef YY_NEED_STRLEN
2285 #ifdef YY_USE_PROTOS
2286 static int yy_flex_strlen( yyconst char *s )
2288 static int yy_flex_strlen( s )
2293 for ( n = 0; s[n]; ++n )
2301 #ifdef YY_USE_PROTOS
2302 static void *yy_flex_alloc( yy_size_t size )
2304 static void *yy_flex_alloc( size )
2308 return (void *) malloc( size );
2311 #ifdef YY_USE_PROTOS
2312 static void *yy_flex_realloc( void *ptr, yy_size_t size )
2314 static void *yy_flex_realloc( ptr, size )
2319 /* The cast to (char *) in the following accommodates both
2320 * implementations that use char* generic pointers, and those
2321 * that use void* generic pointers. It works with the latter
2322 * because both ANSI C and C++ allow castless assignment from
2323 * any pointer type to void*, and deal with argument conversions
2324 * as though doing an assignment.
2326 return (void *) realloc( (char *) ptr, size );
2329 #ifdef YY_USE_PROTOS
2330 static void yy_flex_free( void *ptr )
2332 static void yy_flex_free( ptr )
2346 #line 392 "dtimep.lex"