CUBRID Engine  latest
cnvlex.c
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 
20 /*
21  * cnvlex.c - A lexical scanner generated by flex
22  */
23 
24 #ident "$Id$"
25 
26 #define FLEX_SCANNER
27 
28 #include <stdio.h>
29 
30 
31 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
32 #ifdef c_plusplus
33 #ifndef __cplusplus
34 #define __cplusplus
35 #endif
36 #endif
37 
38 
39 #ifdef __cplusplus
40 
41 #include <stdlib.h>
42 #if 0
43 #include <osfcn.h>
44 #endif
45 
46 /* use prototypes in function declarations */
47 #define YY_USE_PROTOS
48 
49 /* the "const" storage-class-modifier is valid */
50 #define YY_USE_CONST
51 
52 #else /* ! __cplusplus */
53 
54 #if defined(__STDC__) || defined(WINDOWS)
55 
56 #ifdef __GNUC__
57 #include <stddef.h>
58 void *malloc (size_t);
59 void free (void *);
60 #else
61 #include <stdlib.h>
62 #endif /* __GNUC__ */
63 
64 #define YY_USE_PROTOS
65 #define YY_USE_CONST
66 
67 #endif /* __STDC__ */
68 #endif /* ! __cplusplus */
69 
70 
71 #ifdef __TURBOC__
72 #define YY_USE_CONST
73 #endif
74 
75 
76 #ifndef YY_USE_CONST
77 #define const
78 #endif
79 
80 #ifdef YY_USE_PROTOS
81 #define YY_PROTO(proto) proto
82 #endif
83 
84 /* amount of stuff to slurp up with each read */
85 #ifndef YY_READ_BUF_SIZE
86 #define YY_READ_BUF_SIZE 8192
87 #endif
88 
89 /* returned upon end-of-file */
90 #define YY_END_TOK 0
91 
92 /* copy whatever the last rule matched to the standard output */
93 
94 /* cast to (char *) is because for 8-bit chars, yytext is (unsigned char *) */
95 /* this used to be an fputs(), but since the string might contain NUL's,
96  * we now use fwrite()
97  */
98 #define ECHO (void) fwrite( (char *) yytext, yyleng, 1, yyout )
99 
100 /* gets input and stuffs it into "buf". number of characters read, or YY_NULL,
101  * is returned in "result".
102  */
103 #define YY_INPUT(buf,result,max_size) \
104  if ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
105  YY_FATAL_ERROR( "read() in flex scanner failed" );
106 #define YY_NULL 0
107 
108 /* no semi-colon after return; correct usage is to write "yyterminate();" -
109  * we don't want an extra ';' after the "return" because that will cause
110  * some compilers to complain about unreachable statements.
111  */
112 #define yyterminate() return ( (FMT_TOKEN_TYPE) YY_NULL )
113 
114 /* report a fatal error */
115 
116 #define YY_FATAL_ERROR(msg) \
117  do \
118  { \
119  (void) fputs( msg, stderr ); \
120  (void) putc( '\n', stderr ); \
121  exit( 1 ); \
122  } \
123  while ( 0 )
124 
125 /* default yywrap function - always treat EOF as an EOF */
126 #define yywrap() 1
127 
128 /* enter a start condition. This macro really ought to take a parameter,
129  * but we do it the disgusting crufty way forced on us by the ()-less
130  * definition of BEGIN
131  */
132 #define BEGIN yy_start = 1 + 2 *
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 \
139  do \
140  { \
141  yy_init_buffer( yy_current_buffer, yyin ); \
142  yy_load_buffer_state(); \
143  } \
144  while ( 0 )
145 
146 /* default declaration of generated scanner - a define so the user can
147  * easily add parameters
148  */
149 #define YY_DECL int yylex YY_PROTO(( void ))
150 
151 /* code executed at the end of each rule */
152 #define YY_BREAK break;
153 
154 #define YY_END_OF_BUFFER_CHAR 0
155 
156 #ifndef YY_BUF_SIZE
157 #define YY_BUF_SIZE (YY_READ_BUF_SIZE * 2) /* size of default input buffer */
158 #endif
159 
161 
162 #define YY_CHAR unsigned char
163 #define INITIAL 0
164 
165 #include <stdlib.h>
166 #include <assert.h>
167 #include "config.h"
168 
169 /* Set up custom prefix */
170 #undef YY_PREFIX
171 #define YY_PREFIX dbcnv
172 #include "cnvlex.h"
173 #include "util_func.h"
174 
175 static int cnv_fmt_lex_start (FMT_LEX_MODE mode);
176 
177 /* Global variables */
178 static int cnv_fmt__init = 0;
179 static const char *cnv_fmt__input = NULL;
180 static const char *cnv_fmt__next = NULL;
181 static int cnv_fmt__unlex = 0;
183 
184 #undef YY_READ_BUF_SIZE
185 #define YY_READ_BUF_SIZE 512
186 
187 #undef YY_DECL
188 #define YY_DECL \
189 FMT_TOKEN_TYPE cnv_fmt_lex( FMT_TOKEN *token)
190 
191 #undef YY_INPUT
192 #define YY_INPUT( buf, result, max) \
193 result = (*(buf) = *cnv_fmt__input)? (cnv_fmt__input++, 1) : YY_NULL;
194 
195 #undef YY_USER_ACTION
196 #define YY_USER_ACTION \
197 token->text = token->raw_text = (const char *)yytext; \
198 token->length = yyleng;
199 
200 #undef YY_USER_INIT
201 #define YY_USER_INIT \
202 if( !cnv_fmt__init) { \
203  atexit( cnv_fmt_exit); \
204  cnv_fmt__init = 1; \
205  } \
206 BEGIN( cnv_fmt_lex_start( cnv_fmt__mode));
207 
208 
209 #define DB_FMT_LEX_RETURN( t) \
210 token->type = t; \
211 cnv_fmt__next += yyleng; \
212 return t;
213 
214 #define SC_US_ENG_NUMBER 1
215 #define SC_KO_KR_NUMBER 3
216 #define SC_US_ENG_TIME 4
217 #define SC_KO_KR_TIME 6
218 #define SC_BIT_STRING 7
219 #define SC_INTEGER_FORMAT 8
220 #define SC_TIME_FORMAT 9
221 #define SC_BIT_STRING_FORMAT 10
222 #define SC_VALIDATE_DATE_FORMAT 11
223 #define SC_VALIDATE_FLOAT_FORMAT 12
224 #define SC_VALIDATE_INTEGER_FORMAT 13
225 #define SC_VALIDATE_MONETARY_FORMAT 14
226 #define SC_VALIDATE_TIME_FORMAT 15
227 #define SC_VALIDATE_TIMESTAMP_FORMAT 16
228 #define SC_VALIDATE_BIT_STRING_FORMAT 17
229 
230 /*
231  * These macros should allow users to build scanners that export global
232  * symbols with the user's choice of prefix other than "yy".
233  * This is mandatory if more than one scanner is being used in a piece
234  * of software.
235  */
236 #ifndef YY_PREFIX
237 #define YY_PREFIX yy
238 #endif
239 #define YY_RENAME(a) YY_GLUE(YY_PREFIX,a)
240 #define YY_GLUE(a,b) a ## b
241 
242 
243 #define yy_create_buffer YY_RENAME(create_buffer)
244 #define yy_delete_buffer YY_RENAME(delete_buffer)
245 #define yy_init_buffer YY_RENAME(init_buffer)
246 #define yy_load_buffer_state YY_RENAME(load_buffer_state)
247 #define yy_switch_to_buffer YY_RENAME(switch_to_buffer)
248 #define yy_empty_file YY_RENAME(empty_file)
249 #define yyin YY_RENAME(in)
250 #define yyleng YY_RENAME(leng)
251 #define yyout YY_RENAME(out)
252 #define yyrestart YY_RENAME(restart)
253 #define yytext YY_RENAME(text)
254 #define yyunput YY_RENAME(unput)
255 #define yy_flex_debug YY_RENAME(flex_debug)
256 #define yylex YY_RENAME(lex)
257 
258 
259 /* done after the current pattern has been matched and before the
260  * corresponding action - sets up yytext
261  */
262 #define YY_DO_BEFORE_ACTION \
263  yytext = yy_bp; \
264  yyleng = (int)(yy_cp - yy_bp); \
265  yy_hold_char = *yy_cp; \
266  *yy_cp = '\0'; \
267  yy_c_buf_p = yy_cp;
268 
269 #define EOB_ACT_CONTINUE_SCAN 0
270 #define EOB_ACT_END_OF_FILE 1
271 #define EOB_ACT_LAST_MATCH 2
272 
273 /* return all but the first 'n' matched characters back to the input stream */
274 #define yyless(n) \
275  do \
276  { \
277  /* undo effects of setting up yytext */ \
278  *yy_cp = yy_hold_char; \
279  yy_c_buf_p = yy_cp = yy_bp + n; \
280  YY_DO_BEFORE_ACTION; /* set up yytext again */ \
281  } \
282  while ( 0 )
283 
284 #define unput(c) yyunput( c, yytext )
285 
286 
288 {
290 
291  YY_CHAR *yy_ch_buf; /* input buffer */
292  YY_CHAR *yy_buf_pos; /* current position in input buffer */
293 
294  /* size of input buffer in bytes, not including room for EOB characters */
296 
297  /* number of characters read into yy_ch_buf, not including EOB characters */
299 
300  int yy_eof_status; /* whether we've seen an EOF on this buffer */
301 #define EOF_NOT_SEEN 0
302  /* "pending" happens when the EOF has been seen but there's still some text process */
303 #define EOF_PENDING 1
304 #define EOF_DONE 2
305 };
306 
307 static YY_BUFFER_STATE yy_current_buffer;
308 
309 /* we provide macros for accessing buffer states in case in the
310  * future we want to put the buffer states in a more general
311  * "scanner state"
312  */
313 #define YY_CURRENT_BUFFER yy_current_buffer
314 
315 
316 /* yy_hold_char holds the character lost when yytext is formed */
318 
319 static int yy_n_chars; /* number of characters read into yy_ch_buf */
320 
321 
322 
323 #ifndef YY_USER_ACTION
324 #define YY_USER_ACTION
325 #endif
326 
327 #ifndef YY_USER_INIT
328 #define YY_USER_INIT
329 #endif
330 
332 int yyleng;
333 FILE *yyin, *yyout;
334 
335 #define YY_END_OF_BUFFER 98
336 typedef int yy_state_type;
337 static const short int yy_accept[353] = { 0,
338  0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
339  0, 0, 0, 0, 84, 84, 0, 0, 0, 0,
340  0, 0, 74, 74, 75, 75, 76, 76, 78, 78,
341  79, 79, 80, 80, 0, 0, 98, 95, 97, 4,
342  8, 2, 95, 1, 3, 9, 7, 5, 95, 95,
343  14, 13, 13, 15, 95, 95, 95, 95, 95, 95,
344  95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
345  95, 84, 85, 58, 58, 57, 95, 60, 60, 95,
346  95, 95, 97, 95, 75, 75, 75, 75, 75, 95,
347  97, 76, 76, 76, 77, 76, 95, 78, 78, 78,
348 
349  78, 78, 95, 97, 95, 95, 97, 95, 95, 8,
350  0, 9, 0, 7, 5, 11, 10, 12, 17, 0,
351  0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
352  18, 0, 0, 0, 0, 0, 0, 0, 0, 0,
353  0, 0, 0, 0, 16, 0, 84, 85, 58, 57,
354  59, 60, 61, 66, 64, 73, 62, 67, 68, 72,
355  69, 63, 71, 65, 70, 82, 83, 0, 0, 74,
356  75, 75, 75, 75, 75, 75, 75, 75, 75, 75,
357  75, 75, 75, 0, 77, 0, 76, 76, 76, 76,
358  76, 76, 76, 77, 0, 76, 76, 78, 78, 78,
359 
360  78, 78, 78, 78, 78, 78, 78, 78, 78, 78,
361  78, 78, 0, 0, 79, 0, 0, 80, 80, 81,
362  0, 13, 48, 52, 56, 46, 31, 45, 51, 50,
363  47, 37, 27, 55, 54, 32, 53, 26, 30, 28,
364  29, 0, 0, 0, 0, 0, 0, 0, 0, 0,
365  74, 75, 75, 75, 76, 76, 76, 78, 78, 78,
366  78, 78, 78, 78, 78, 78, 78, 78, 78, 79,
367  80, 6, 0, 0, 0, 0, 0, 0, 39, 38,
368  0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
369  93, 92, 91, 89, 88, 94, 90, 86, 87, 78,
370 
371  78, 78, 36, 0, 0, 0, 0, 0, 35, 0,
372  0, 0, 0, 0, 0, 0, 0, 0, 40, 0,
373  0, 24, 0, 20, 0, 0, 0, 0, 19, 0,
374  0, 0, 0, 0, 33, 0, 42, 0, 0, 0,
375  21, 0, 44, 34, 43, 25, 0, 23, 0, 41,
376  22, 0
377 };
378 
379 static const YY_CHAR yy_ec[256] = { 0,
380  1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
381  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
382  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
383  1, 3, 1, 1, 1, 4, 5, 1, 1, 6,
384  7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
385  16, 16, 16, 16, 16, 16, 17, 18, 1, 1,
386  1, 1, 1, 1, 19, 20, 21, 22, 23, 24,
387  1, 25, 26, 27, 1, 1, 28, 29, 30, 31,
388  1, 32, 33, 34, 1, 1, 35, 36, 37, 38,
389  1, 39, 1, 1, 1, 1, 40, 41, 42, 43,
390 
391  44, 45, 46, 47, 48, 1, 26, 49, 50, 51,
392  52, 53, 1, 54, 55, 56, 57, 58, 59, 60,
393  61, 1, 1, 1, 1, 1, 1, 1, 1, 1,
394  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
395  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
396  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
397  1, 1, 62, 1, 1, 1, 1, 1, 1, 1,
398  1, 1, 63, 1, 1, 1, 64, 1, 65, 1,
399  1, 1, 1, 66, 1, 1, 1, 67, 1, 1,
400  68, 69, 1, 1, 1, 70, 71, 1, 1, 72,
401 
402  1, 1, 1, 1, 1, 1, 73, 1, 1, 1,
403  1, 1, 1, 1, 1, 1, 1, 1, 1, 74,
404  75, 1, 1, 1, 1, 76, 1, 77, 1, 1,
405  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
406  78, 1, 1, 1, 1, 79, 1, 1, 80, 1,
407  1, 81, 1, 1, 1
408 };
409 
410 static const YY_CHAR yy_meta[82] = { 0,
411  1, 1, 1, 1, 2, 1, 1, 1, 1, 1,
412  1, 1, 1, 3, 3, 3, 3, 1, 4, 4,
413  5, 4, 4, 3, 6, 6, 1, 6, 1, 1,
414  1, 6, 6, 6, 1, 7, 8, 6, 9, 4,
415  4, 5, 4, 4, 3, 1, 1, 1, 6, 8,
416  1, 1, 6, 6, 1, 1, 1, 1, 8, 8,
417  8, 1, 1, 1, 1, 1, 1, 1, 1, 1,
418  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
419  1
420 };
421 
422 static const short int yy_base[373] = { 0,
423  0, 16, 32, 48, 869, 868, 59, 70, 131, 0,
424  86, 109, 172, 189, 257, 0, 81, 92, 1, 17,
425  33, 49, 88, 90, 206, 208, 134, 192, 230, 231,
426  103, 105, 111, 113, 133, 135, 869, 872, 872, 872,
427  860, 872, 165, 872, 872, 853, 182, 872, 792, 235,
428  872, 246, 250, 872, 254, 821, 1, 57, 89, 812,
429  821, 834, 112, 49, 817, 810, 809, 219, 782, 50,
430  784, 153, 0, 0, 0, 820, 819, 0, 0, 307,
431  317, 849, 848, 0, 214, 296, 267, 304, 217, 118,
432  217, 284, 346, 279, 267, 336, 816, 361, 379, 384,
433 
434  386, 390, 846, 845, 381, 844, 843, 842, 400, 838,
435  423, 831, 428, 434, 872, 872, 872, 438, 872, 790,
436  797, 800, 800, 792, 788, 162, 122, 787, 779, 780,
437  872, 779, 781, 782, 775, 787, 787, 754, 750, 748,
438  746, 752, 747, 760, 872, 283, 295, 0, 0, 786,
439  872, 0, 872, 872, 872, 872, 872, 872, 872, 872,
440  872, 872, 872, 872, 872, 872, 872, 816, 0, 815,
441  368, 385, 448, 400, 307, 419, 811, 801, 779, 319,
442  353, 1, 181, 323, 382, 780, 387, 425, 458, 452,
443  436, 441, 442, 388, 779, 446, 451, 488, 475, 489,
444 
445  483, 872, 459, 499, 500, 501, 49, 232, 498, 508,
446  510, 512, 809, 521, 808, 807, 806, 805, 804, 872,
447  513, 517, 760, 750, 762, 751, 761, 746, 741, 757,
448  758, 872, 756, 754, 745, 739, 739, 751, 739, 737,
449  740, 783, 782, 781, 780, 779, 778, 777, 702, 712,
450  776, 511, 399, 506, 527, 522, 504, 529, 544, 772,
451  730, 670, 548, 550, 533, 539, 560, 569, 572, 702,
452  701, 872, 655, 631, 633, 552, 568, 567, 872, 872,
453  559, 565, 554, 562, 548, 557, 560, 544, 555, 553,
454  872, 872, 872, 872, 872, 872, 872, 872, 872, 570,
455 
456  568, 557, 872, 540, 553, 553, 531, 537, 872, 529,
457  548, 544, 544, 533, 518, 493, 439, 421, 872, 429,
458  416, 872, 371, 872, 360, 327, 339, 330, 872, 298,
459  264, 252, 239, 184, 872, 167, 872, 151, 133, 102,
460  872, 99, 872, 872, 872, 872, 37, 872, 16, 872,
461  872, 872, 610, 619, 628, 637, 646, 655, 664, 671,
462  676, 684, 693, 701, 709, 718, 727, 736, 744, 752,
463  761, 770
464 };
465 
466 static const short int yy_def[373] = { 0,
467  353, 353, 353, 353, 353, 353, 353, 353, 353, 9,
468  353, 353, 353, 353, 353, 15, 354, 354, 355, 355,
469  353, 353, 356, 356, 353, 353, 357, 357, 353, 353,
470  358, 358, 359, 359, 353, 353, 352, 352, 352, 352,
471  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
472  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
473  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
474  352, 360, 360, 361, 361, 352, 352, 362, 362, 352,
475  352, 363, 363, 364, 352, 352, 352, 352, 352, 365,
476  365, 365, 365, 365, 366, 365, 352, 352, 352, 352,
477 
478  352, 352, 367, 367, 352, 368, 368, 369, 352, 352,
479  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
480  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
481  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
482  352, 352, 352, 352, 352, 352, 360, 360, 361, 352,
483  352, 362, 352, 352, 352, 352, 352, 352, 352, 352,
484  352, 352, 352, 352, 352, 352, 352, 363, 364, 370,
485  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
486  352, 352, 352, 365, 366, 352, 365, 365, 365, 365,
487  365, 365, 365, 366, 352, 365, 365, 352, 352, 352,
488 
489  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
490  352, 352, 367, 352, 371, 368, 369, 372, 372, 352,
491  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
492  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
493  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
494  370, 352, 352, 352, 365, 365, 365, 352, 352, 352,
495  352, 352, 352, 352, 352, 352, 352, 352, 352, 371,
496  372, 352, 352, 352, 352, 352, 352, 352, 352, 352,
497  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
498  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
499 
500  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
501  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
502  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
503  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
504  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
505  352, 0, 352, 352, 352, 352, 352, 352, 352, 352,
506  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
507  352, 352
508 };
509 
510 static const short int yy_nxt[954] = { 0,
511  352, 39, 79, 40, 352, 80, 352, 41, 42, 43,
512  44, 45, 173, 46, 47, 47, 47, 39, 79, 40,
513  352, 80, 352, 41, 42, 43, 44, 45, 352, 46,
514  47, 47, 47, 39, 39, 40, 352, 81, 254, 41,
515  42, 43, 44, 45, 123, 46, 47, 47, 47, 39,
516  39, 40, 202, 81, 124, 41, 42, 43, 44, 45,
517  39, 46, 47, 47, 47, 207, 41, 42, 43, 44,
518  45, 39, 46, 47, 47, 47, 351, 41, 42, 43,
519  44, 45, 75, 46, 47, 47, 47, 39, 50, 83,
520  350, 83, 84, 75, 84, 135, 125, 48, 51, 52,
521 
522  53, 53, 53, 54, 104, 136, 104, 105, 48, 105,
523  39, 50, 107, 126, 107, 108, 76, 108, 146, 77,
524  49, 51, 52, 53, 53, 53, 54, 76, 127, 145,
525  77, 49, 39, 50, 39, 91, 39, 109, 349, 109,
526  128, 92, 93, 51, 52, 53, 53, 53, 54, 55,
527  94, 132, 56, 185, 57, 133, 186, 58, 59, 60,
528  61, 62, 348, 63, 64, 65, 147, 147, 134, 95,
529  66, 96, 97, 39, 50, 231, 347, 68, 111, 111,
530  111, 111, 232, 67, 51, 52, 53, 53, 53, 54,
531  39, 50, 173, 91, 68, 113, 114, 114, 114, 92,
532 
533  93, 51, 52, 53, 53, 53, 54, 39, 94, 39,
534  229, 346, 230, 85, 86, 85, 86, 87, 183, 87,
535  345, 171, 88, 172, 88, 173, 182, 95, 173, 96,
536  97, 39, 39, 98, 98, 202, 69, 99, 99, 70,
537  71, 100, 100, 89, 344, 89, 101, 101, 116, 116,
538  116, 116, 185, 69, 183, 186, 70, 71, 39, 117,
539  117, 117, 117, 118, 118, 118, 118, 102, 102, 208,
540  72, 72, 73, 73, 177, 73, 73, 73, 73, 73,
541  73, 119, 138, 178, 139, 140, 141, 142, 192, 143,
542  144, 187, 343, 188, 342, 193, 73, 73, 73, 73,
543 
544  73, 73, 185, 174, 179, 195, 120, 173, 147, 147,
545  121, 153, 175, 180, 185, 173, 180, 186, 173, 185,
546  181, 166, 186, 181, 341, 154, 155, 156, 157, 157,
547  173, 158, 158, 176, 159, 253, 166, 340, 160, 161,
548  160, 167, 160, 162, 163, 196, 154, 155, 156, 164,
549  164, 249, 167, 189, 250, 158, 155, 166, 185, 165,
550  160, 186, 190, 167, 173, 154, 157, 162, 198, 181,
551  339, 185, 199, 197, 186, 171, 167, 200, 338, 173,
552  337, 185, 202, 191, 186, 215, 203, 202, 204, 202,
553  205, 206, 252, 202, 187, 209, 173, 205, 201, 211,
554 
555  207, 205, 210, 336, 220, 215, 215, 171, 215, 172,
556  173, 173, 215, 215, 215, 253, 215, 185, 215, 220,
557  195, 208, 185, 185, 220, 186, 195, 212, 182, 215,
558  173, 335, 255, 215, 215, 220, 221, 221, 221, 221,
559  220, 113, 114, 114, 114, 196, 220, 113, 114, 114,
560  114, 222, 222, 222, 222, 177, 183, 256, 193, 220,
561  185, 192, 202, 186, 178, 187, 203, 188, 193, 334,
562  205, 185, 333, 197, 186, 332, 185, 185, 331, 186,
563  186, 185, 260, 257, 186, 179, 185, 185, 197, 186,
564  186, 261, 265, 185, 199, 258, 186, 259, 263, 199,
565 
566  199, 202, 202, 202, 202, 264, 267, 206, 206, 205,
567  205, 202, 262, 202, 268, 202, 207, 173, 252, 205,
568  266, 205, 173, 205, 210, 215, 272, 272, 272, 272,
569  222, 222, 222, 222, 255, 330, 258, 208, 256, 185,
570  199, 257, 186, 254, 199, 215, 215, 269, 215, 212,
571  199, 300, 215, 215, 215, 199, 215, 185, 215, 199,
572  186, 199, 185, 202, 301, 186, 264, 267, 199, 215,
573  302, 205, 202, 215, 215, 202, 266, 300, 329, 199,
574  205, 199, 328, 205, 301, 268, 327, 326, 325, 324,
575  323, 322, 321, 320, 302, 319, 318, 317, 316, 315,
576 
577  314, 313, 312, 311, 310, 309, 308, 307, 306, 269,
578  38, 38, 38, 38, 38, 38, 38, 38, 38, 74,
579  74, 74, 74, 74, 74, 74, 74, 74, 78, 78,
580  78, 78, 78, 78, 78, 78, 78, 82, 82, 82,
581  82, 82, 82, 82, 82, 82, 90, 90, 90, 90,
582  90, 90, 90, 90, 90, 103, 103, 103, 103, 103,
583  103, 103, 103, 103, 106, 106, 106, 106, 106, 106,
584  106, 106, 106, 148, 148, 148, 149, 149, 149, 149,
585  149, 149, 305, 149, 152, 304, 152, 152, 152, 152,
586  152, 152, 152, 168, 168, 168, 168, 168, 168, 168,
587 
588  168, 168, 170, 303, 170, 217, 214, 262, 170, 184,
589  184, 184, 184, 184, 184, 184, 184, 184, 194, 194,
590  194, 194, 194, 194, 194, 194, 194, 213, 213, 213,
591  213, 213, 213, 213, 213, 213, 216, 216, 216, 216,
592  216, 216, 216, 216, 216, 219, 261, 219, 219, 219,
593  219, 219, 251, 251, 251, 251, 251, 251, 251, 251,
594  251, 270, 270, 270, 270, 270, 270, 270, 270, 270,
595  271, 271, 271, 271, 271, 271, 271, 271, 271, 260,
596  169, 299, 298, 297, 296, 295, 294, 293, 292, 291,
597  290, 289, 288, 287, 286, 285, 284, 283, 282, 281,
598 
599  280, 279, 278, 277, 276, 275, 274, 273, 217, 217,
600  218, 217, 214, 214, 194, 184, 179, 178, 177, 169,
601  169, 150, 248, 247, 246, 245, 244, 243, 242, 241,
602  240, 239, 238, 237, 236, 235, 234, 233, 228, 227,
603  226, 225, 224, 223, 112, 110, 218, 217, 217, 214,
604  214, 184, 169, 169, 151, 150, 145, 145, 131, 119,
605  137, 131, 130, 129, 122, 115, 112, 110, 352, 39,
606  39, 37, 352, 352, 352, 352, 352, 352, 352, 352,
607  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
608  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
609 
610  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
611  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
612  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
613  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
614  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
615  352, 352, 352
616 };
617 
618 static const short int yy_chk[954] = { 0,
619  0, 1, 19, 1, 0, 19, 0, 1, 1, 1,
620  1, 1, 182, 1, 1, 1, 1, 2, 20, 2,
621  0, 20, 0, 2, 2, 2, 2, 2, 0, 2,
622  2, 2, 2, 3, 21, 3, 0, 21, 182, 3,
623  3, 3, 3, 3, 57, 3, 3, 3, 3, 4,
624  22, 4, 207, 22, 57, 4, 4, 4, 4, 4,
625  7, 4, 4, 4, 4, 207, 7, 7, 7, 7,
626  7, 8, 7, 7, 7, 7, 349, 8, 8, 8,
627  8, 8, 17, 8, 8, 8, 8, 11, 11, 23,
628  347, 24, 23, 18, 24, 64, 58, 7, 11, 11,
629 
630  11, 11, 11, 11, 31, 64, 32, 31, 8, 32,
631  12, 12, 33, 58, 34, 33, 17, 34, 70, 17,
632  7, 12, 12, 12, 12, 12, 12, 18, 59, 70,
633  18, 8, 9, 9, 35, 27, 36, 35, 342, 36,
634  59, 27, 27, 9, 9, 9, 9, 9, 9, 9,
635  27, 63, 9, 90, 9, 63, 90, 9, 9, 9,
636  9, 9, 340, 9, 9, 9, 72, 72, 63, 27,
637  9, 27, 27, 13, 13, 127, 339, 13, 43, 43,
638  43, 43, 127, 9, 13, 13, 13, 13, 13, 13,
639  14, 14, 183, 28, 14, 47, 47, 47, 47, 28,
640 
641  28, 14, 14, 14, 14, 14, 14, 25, 28, 26,
642  126, 338, 126, 25, 25, 26, 26, 25, 183, 26,
643  336, 85, 25, 85, 26, 85, 89, 28, 89, 28,
644  28, 29, 30, 29, 30, 208, 13, 29, 30, 13,
645  13, 29, 30, 25, 334, 26, 29, 30, 50, 50,
646  50, 50, 91, 14, 89, 91, 14, 14, 15, 52,
647  52, 52, 52, 53, 53, 53, 53, 29, 30, 208,
648  15, 15, 15, 15, 87, 15, 15, 15, 15, 15,
649  15, 55, 68, 87, 68, 68, 68, 68, 94, 68,
650  68, 92, 333, 92, 332, 94, 15, 15, 15, 15,
651 
652  15, 15, 95, 86, 87, 95, 55, 86, 147, 147,
653  55, 80, 86, 88, 94, 88, 175, 94, 175, 92,
654  88, 81, 92, 175, 331, 80, 80, 80, 80, 80,
655  180, 80, 80, 86, 80, 180, 81, 330, 80, 80,
656  80, 81, 80, 80, 80, 96, 80, 80, 80, 80,
657  80, 146, 81, 93, 146, 80, 80, 81, 184, 80,
658  80, 184, 93, 81, 181, 80, 80, 80, 98, 181,
659  328, 96, 98, 96, 96, 171, 81, 98, 327, 171,
660  326, 93, 99, 93, 93, 105, 99, 100, 99, 101,
661  99, 100, 172, 102, 187, 101, 172, 101, 98, 102,
662 
663  100, 102, 101, 325, 109, 105, 105, 174, 105, 174,
664  253, 174, 105, 105, 105, 253, 105, 185, 105, 109,
665  185, 100, 187, 194, 109, 187, 194, 102, 176, 105,
666  176, 323, 188, 105, 105, 109, 111, 111, 111, 111,
667  109, 113, 113, 113, 113, 191, 109, 114, 114, 114,
668  114, 118, 118, 118, 118, 173, 176, 192, 193, 109,
669  188, 190, 203, 188, 173, 189, 203, 189, 190, 321,
670  203, 191, 320, 191, 191, 318, 192, 193, 317, 192,
671  193, 196, 199, 196, 196, 173, 197, 190, 197, 197,
672  190, 199, 201, 189, 201, 198, 189, 198, 200, 198,
673 
674  200, 209, 204, 205, 206, 200, 204, 205, 206, 209,
675  204, 210, 199, 211, 209, 212, 205, 254, 252, 210,
676  201, 211, 252, 212, 210, 214, 221, 221, 221, 221,
677  222, 222, 222, 222, 255, 316, 258, 205, 256, 257,
678  258, 257, 257, 254, 265, 214, 214, 211, 214, 212,
679  266, 259, 214, 214, 214, 259, 214, 256, 214, 263,
680  256, 264, 255, 267, 263, 255, 264, 267, 302, 214,
681  265, 267, 268, 214, 214, 269, 266, 300, 315, 301,
682  268, 300, 314, 269, 301, 268, 313, 312, 311, 310,
683  308, 307, 306, 305, 302, 304, 290, 289, 288, 287,
684 
685  286, 285, 284, 283, 282, 281, 278, 277, 276, 269,
686  353, 353, 353, 353, 353, 353, 353, 353, 353, 354,
687  354, 354, 354, 354, 354, 354, 354, 354, 355, 355,
688  355, 355, 355, 355, 355, 355, 355, 356, 356, 356,
689  356, 356, 356, 356, 356, 356, 357, 357, 357, 357,
690  357, 357, 357, 357, 357, 358, 358, 358, 358, 358,
691  358, 358, 358, 358, 359, 359, 359, 359, 359, 359,
692  359, 359, 359, 360, 360, 360, 361, 361, 361, 361,
693  361, 361, 275, 361, 362, 274, 362, 362, 362, 362,
694  362, 362, 362, 363, 363, 363, 363, 363, 363, 363,
695 
696  363, 363, 364, 273, 364, 271, 270, 262, 364, 365,
697  365, 365, 365, 365, 365, 365, 365, 365, 366, 366,
698  366, 366, 366, 366, 366, 366, 366, 367, 367, 367,
699  367, 367, 367, 367, 367, 367, 368, 368, 368, 368,
700  368, 368, 368, 368, 368, 369, 261, 369, 369, 369,
701  369, 369, 370, 370, 370, 370, 370, 370, 370, 370,
702  370, 371, 371, 371, 371, 371, 371, 371, 371, 371,
703  372, 372, 372, 372, 372, 372, 372, 372, 372, 260,
704  251, 250, 249, 248, 247, 246, 245, 244, 243, 242,
705  241, 240, 239, 238, 237, 236, 235, 234, 233, 231,
706 
707  230, 229, 228, 227, 226, 225, 224, 223, 219, 218,
708  217, 216, 215, 213, 195, 186, 179, 178, 177, 170,
709  168, 150, 144, 143, 142, 141, 140, 139, 138, 137,
710  136, 135, 134, 133, 132, 130, 129, 128, 125, 124,
711  123, 122, 121, 120, 112, 110, 108, 107, 106, 104,
712  103, 97, 83, 82, 77, 76, 71, 69, 67, 66,
713  65, 62, 61, 60, 56, 49, 46, 41, 37, 6,
714  5, 352, 352, 352, 352, 352, 352, 352, 352, 352,
715  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
716  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
717 
718  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
719  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
720  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
721  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
722  352, 352, 352, 352, 352, 352, 352, 352, 352, 352,
723  352, 352, 352
724 };
725 
728 
729 /* the intent behind this definition is that it'll catch
730  * any uses of REJECT which flex missed
731  */
732 #define REJECT reject_used_but_not_detected
733 #define yymore() yymore_used_but_not_detected
734 #define YY_MORE_ADJ 0
735 
736 /* these variables are all declared out here so that section 3 code can
737  * manipulate them
738  */
739 /* points to current character in buffer */
740 static YY_CHAR *yy_c_buf_p = (YY_CHAR *) 0;
741 static int yy_init = 1; /* whether we need to initialize */
742 static int yy_start = 0; /* start state number */
743 
744 /* flag which is used to allow yywrap()'s to do buffer switches
745  * instead of setting up a fresh yyin. A bit of a hack ...
746  */
748 
750 static yy_state_type yy_try_NUL_trans YY_PROTO ((yy_state_type current_state));
751 static int yy_get_next_buffer YY_PROTO ((void));
752 static void yyunput YY_PROTO ((YY_CHAR c, YY_CHAR * buf_ptr));
753 void yyrestart YY_PROTO ((FILE * input_file));
754 void yy_switch_to_buffer YY_PROTO ((YY_BUFFER_STATE new_buffer));
755 void yy_load_buffer_state YY_PROTO ((void));
756 YY_BUFFER_STATE yy_create_buffer YY_PROTO ((FILE * file, int size));
757 void yy_delete_buffer YY_PROTO ((YY_BUFFER_STATE b));
758 void yy_init_buffer YY_PROTO ((YY_BUFFER_STATE b, FILE * file));
759 
760 #define yy_new_buffer yy_create_buffer
761 
762 #ifdef __cplusplus
763 static int yyinput YY_PROTO ((void));
764 #else
765 static int input YY_PROTO ((void));
766 #endif
767 
768 YY_DECL
769 {
770  yy_state_type yy_current_state;
772  int yy_act;
773 
774 
775  /* Preliminary "actions" */
776  if (cnv_fmt__unlex && yy_current_buffer->yy_eof_status != EOF_DONE)
777  {
778  /*
779  * Push back current token so that it can be read again.
780  * See cnv_fmt_unlex().
781  */
782  int i;
783  for (i = yyleng - 1; i >= 0; --i)
784  {
785  unput (yytext[i]);
786  }
788  cnv_fmt__unlex = 0;
789  }
790 
791 
792 
793  if (yy_init)
794  {
795  YY_USER_INIT;
796 
797  if (!yy_start)
798  yy_start = 1; /* first start state */
799 
800  if (!yyin)
801  yyin = stdin;
802 
803  if (!yyout)
804  yyout = stdout;
805 
806  if (yy_current_buffer)
807  yy_init_buffer (yy_current_buffer, yyin);
808  else
809  yy_current_buffer = yy_create_buffer (yyin, YY_BUF_SIZE);
810 
812 
813  yy_init = 0;
814  }
815 
816  while (1) /* loops until end-of-file is reached */
817  {
818  yy_cp = yy_c_buf_p;
819 
820  /* support of yytext */
821  *yy_cp = yy_hold_char;
822 
823  /* yy_bp points to the position in yy_ch_buf of the start of the current run. */
824  yy_bp = yy_cp;
825 
826  yy_current_state = yy_start;
827  yy_match:
828  do
829  {
830  YY_CHAR yy_c = yy_ec[*yy_cp];
831  if (yy_accept[yy_current_state])
832  {
833  yy_last_accepting_state = yy_current_state;
835  }
836  while (yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state)
837  {
838  yy_current_state = yy_def[yy_current_state];
839  if (yy_current_state >= 353)
840  yy_c = yy_meta[yy_c];
841  }
842  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
843  ++yy_cp;
844  }
845  while (yy_current_state != 352);
846  yy_cp = yy_last_accepting_cpos;
847  yy_current_state = yy_last_accepting_state;
848 
849  yy_find_action:
850  yy_act = yy_accept[yy_current_state];
851 
854 
855  do_action: /* this label is used only to access EOF actions */
856 
857 
858  switch (yy_act)
859  {
860  case 0: /* must backtrack */
861  /* undo the effects of YY_DO_BEFORE_ACTION */
862  *yy_cp = yy_hold_char;
863  yy_cp = yy_last_accepting_cpos;
864  yy_current_state = yy_last_accepting_state;
865  goto yy_find_action;
866 
867  case 1:
868  {
870  }
871  YY_BREAK case 2:
872  {
874  }
875  YY_BREAK case 3:
876  {
878  }
879  YY_BREAK case 4:
880  {
882  }
883  YY_BREAK case 5:
884  {
886  }
887  YY_BREAK case 6:
888  {
889  int csize = mblen (token->text, token->length);
890  token->text += csize;
891  token->length -= csize;
893  }
894  YY_BREAK case 7:
895  {
896  /* Number with no leading or trailing zeroes. */
898  }
899  YY_BREAK case 8:
900  {
902  }
903  YY_BREAK case 9:
904  {
906  }
907  YY_BREAK case 10:
908  {
910  }
911  YY_BREAK case 11:
912  {
914  }
915  YY_BREAK case 12:
916  {
918  }
919  YY_BREAK case 13:
920  {
922  }
923  YY_BREAK case 14:
924  {
926  }
927  YY_BREAK case 15:
928  {
930  }
931  YY_BREAK case 16:
932  {
934  }
935  YY_BREAK case 17:
936  {
937  token->value = 0;
939  }
940  YY_BREAK case 18:
941  {
942  token->value = 1;
944  }
945  YY_BREAK case 19:
946  {
947  token->value = 0;
949  }
950  YY_BREAK case 20:
951  {
952  token->value = 1;
954  }
955  YY_BREAK case 21:
956  {
957  token->value = 2;
959  }
960  YY_BREAK case 22:
961  {
962  token->value = 3;
964  }
965  YY_BREAK case 23:
966  {
967  token->value = 4;
969  }
970  YY_BREAK case 24:
971  {
972  token->value = 5;
974  }
975  YY_BREAK case 25:
976  {
977  token->value = 6;
979  }
980  YY_BREAK case 26:
981  {
982  token->value = 0;
984  }
985  YY_BREAK case 27:
986  {
987  token->value = 1;
989  }
990  YY_BREAK case 28:
991  {
992  token->value = 2;
994  }
995  YY_BREAK case 29:
996  {
997  token->value = 3;
999  }
1000  YY_BREAK case 30:
1001  {
1002  token->value = 4;
1004  }
1005  YY_BREAK case 31:
1006  {
1007  token->value = 5;
1009  }
1010  YY_BREAK case 32:
1011  {
1012  token->value = 6;
1014  }
1015  YY_BREAK case 33:
1016  {
1017  token->value = 1;
1019  }
1020  YY_BREAK case 34:
1021  {
1022  token->value = 2;
1024  }
1025  YY_BREAK case 35:
1026  {
1027  token->value = 3;
1029  }
1030  YY_BREAK case 36:
1031  {
1032  token->value = 4;
1034  }
1035  YY_BREAK case 37:
1036  {
1037  token->value = 5;
1039  }
1040  YY_BREAK case 38:
1041  {
1042  token->value = 6;
1044  }
1045  YY_BREAK case 39:
1046  {
1047  token->value = 7;
1049  }
1050  YY_BREAK case 40:
1051  {
1052  token->value = 8;
1054  }
1055  YY_BREAK case 41:
1056  {
1057  token->value = 9;
1059  }
1060  YY_BREAK case 42:
1061  {
1062  token->value = 10;
1064  }
1065  YY_BREAK case 43:
1066  {
1067  token->value = 11;
1069  }
1070  YY_BREAK case 44:
1071  {
1072  token->value = 12;
1074  }
1075  YY_BREAK case 45:
1076  {
1077  token->value = 1;
1079  }
1080  YY_BREAK case 46:
1081  {
1082  token->value = 2;
1084  }
1085  YY_BREAK case 47:
1086  {
1087  token->value = 3;
1089  }
1090  YY_BREAK case 48:
1091  {
1092  token->value = 4;
1094  }
1095  YY_BREAK case 49:
1096  {
1097  token->value = 5;
1099  }
1100  YY_BREAK case 50:
1101  {
1102  token->value = 6;
1104  }
1105  YY_BREAK case 51:
1106  {
1107  token->value = 7;
1109  }
1110  YY_BREAK case 52:
1111  {
1112  token->value = 8;
1114  }
1115  YY_BREAK case 53:
1116  {
1117  token->value = 9;
1119  }
1120  YY_BREAK case 54:
1121  {
1122  token->value = 10;
1124  }
1125  YY_BREAK case 55:
1126  {
1127  token->value = 11;
1129  }
1130  YY_BREAK case 56:
1131  {
1132  token->value = 12;
1134  }
1135  YY_BREAK case 57:
1136  {
1138  }
1139  YY_BREAK case 58:
1140  {
1142  }
1143  YY_BREAK case 59:
1144  {
1145  /* Escaped X is treated like a pattern char. */
1146  int csize = mblen (token->text, token->length);
1147  token->text += csize;
1148  token->length -= csize;
1150  }
1151  YY_BREAK case 60:
1152  {
1154  }
1155  YY_BREAK case 61:
1156  {
1157  /* Escaped % is treated like a pattern char. */
1158  int csize = mblen (token->text, token->length);
1159  token->text += csize;
1160  token->length -= csize;
1162  }
1163  YY_BREAK case 62:
1164  {
1165  int csize = mblen (token->text, token->length);
1166  token->text += csize;
1167  token->length -= csize;
1169  }
1170  YY_BREAK case 63:
1171  {
1172  int csize = mblen (token->text, token->length);
1173  token->text += csize;
1174  token->length -= csize;
1176  }
1177  YY_BREAK case 64:
1178  {
1179  int csize = mblen (token->text, token->length);
1180  token->text += csize;
1181  token->length -= csize;
1183  }
1184  YY_BREAK case 65:
1185  {
1186  int csize = mblen (token->text, token->length);
1187  token->text += csize;
1188  token->length -= csize;
1190  }
1191  YY_BREAK case 66:
1192  {
1193  int csize = mblen (token->text, token->length);
1194  token->text += csize;
1195  token->length -= csize;
1197  }
1198  YY_BREAK case 67:
1199  {
1200  int csize = mblen (token->text, token->length);
1201  token->text += csize;
1202  token->length -= csize;
1204  }
1205  YY_BREAK case 68:
1206  {
1207  int csize = mblen (token->text, token->length);
1208  token->text += csize;
1209  token->length -= csize;
1211  }
1212  YY_BREAK case 69:
1213  {
1214  int csize = mblen (token->text, token->length);
1215  token->text += csize;
1216  token->length -= csize;
1218  }
1219  YY_BREAK case 70:
1220  {
1221  int csize = mblen (token->text, token->length);
1222  token->text += csize;
1223  token->length -= csize;
1225  }
1226  YY_BREAK case 71:
1227  {
1228  int csize = mblen (token->text, token->length);
1229  token->text += csize;
1230  token->length -= csize;
1232  }
1233  YY_BREAK case 72:
1234  {
1235  int csize = mblen (token->text, token->length);
1236  token->text += csize;
1237  token->length -= csize;
1239  }
1240  YY_BREAK case 73:
1241  {
1242  int csize = mblen (token->text, token->length);
1243  token->text += csize;
1244  token->length -= csize;
1246  }
1247  YY_BREAK case 74:
1248  {
1250  }
1251  YY_BREAK case 75:
1252  {
1254  }
1255  YY_BREAK case 76:
1256  {
1258  }
1259  YY_BREAK case 77:
1260  {
1262  }
1263  YY_BREAK case 78:
1264  {
1266  }
1267  YY_BREAK case 79:
1268  {
1270  }
1271  YY_BREAK case 80:
1272  {
1274  }
1275  YY_BREAK case 81:
1276  {
1278  }
1279  YY_BREAK case 82:
1280  {
1282  }
1283  YY_BREAK case 83:
1284  {
1286  }
1287  YY_BREAK case 84:
1288  {
1290  }
1291  YY_BREAK case 85:
1292  {
1294  }
1295  YY_BREAK case 86:
1296  {
1297  token->value = 0;
1299  }
1300  YY_BREAK case 87:
1301  {
1302  token->value = 1;
1304  }
1305  YY_BREAK case 88:
1306  {
1307  token->value = 0;
1309  }
1310  YY_BREAK case 89:
1311  {
1312  token->value = 1;
1314  }
1315  YY_BREAK case 90:
1316  {
1317  token->value = 2;
1319  }
1320  YY_BREAK case 91:
1321  {
1322  token->value = 3;
1324  }
1325  YY_BREAK case 92:
1326  {
1327  token->value = 4;
1329  }
1330  YY_BREAK case 93:
1331  {
1332  token->value = 5;
1334  }
1335  YY_BREAK case 94:
1336  {
1337  token->value = 6;
1339  }
1340  YY_BREAK case 95:
1341  {
1343  }
1351  {
1353  token->type = FT_NONE;
1354  token->text = token->raw_text = cnv_fmt__input;
1355  token->length = 0;
1356  yyterminate ();
1357  }
1358  YY_BREAK case 97:ECHO;
1360  {
1361  /* amount of text matched not including the EOB char */
1362  int yy_amount_of_matched_text = (int) (yy_cp - yytext - 1);
1363 
1364  /* undo the effects of YY_DO_BEFORE_ACTION */
1365  *yy_cp = yy_hold_char;
1366 
1367  /* note that here we test for yy_c_buf_p "<=" to the position of the first EOB in the buffer, since
1368  * yy_c_buf_p will already have been incremented past the NUL character (since all states make transitions
1369  * on EOB to the end- of-buffer state). Contrast this with the test in yyinput(). */
1370  if (yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars])
1371  /* this was really a NUL */
1372  {
1373  yy_state_type yy_next_state;
1374 
1375  yy_c_buf_p = yytext + yy_amount_of_matched_text;
1376 
1377  yy_current_state = yy_get_previous_state ();
1378 
1379  /* okay, we're now positioned to make the NUL transition. We couldn't have yy_get_previous_state() go
1380  * ahead and do it for us because it doesn't know how to deal with the possibility of jamming (and we
1381  * don't want to build jamming into it because then it will run more slowly) */
1382 
1383  yy_next_state = yy_try_NUL_trans (yy_current_state);
1384 
1385  yy_bp = yytext + YY_MORE_ADJ;
1386 
1387  if (yy_next_state)
1388  {
1389  /* consume the NUL */
1390  yy_cp = ++yy_c_buf_p;
1391  yy_current_state = yy_next_state;
1392  goto yy_match;
1393  }
1394 
1395  else
1396  {
1397  yy_cp = yy_last_accepting_cpos;
1398  yy_current_state = yy_last_accepting_state;
1399  goto yy_find_action;
1400  }
1401  }
1402 
1403  else
1404  switch (yy_get_next_buffer ())
1405  {
1406  case EOB_ACT_END_OF_FILE:
1407  {
1409 
1410  if (yywrap ())
1411  {
1412  /* note: because we've taken care in yy_get_next_buffer() to have set up yytext, we can now set
1413  * up yy_c_buf_p so that if some total hoser (like flex itself) wants to call the scanner after
1414  * we return the YY_NULL, it'll still work - another YY_NULL will get returned. */
1416 
1417  yy_act = YY_STATE_EOF ((yy_start - 1) / 2);
1418  goto do_action;
1419  }
1420 
1421  else
1422  {
1424  YY_NEW_FILE;
1425  }
1426  }
1427  break;
1428 
1429  case EOB_ACT_CONTINUE_SCAN:
1430  yy_c_buf_p = yytext + yy_amount_of_matched_text;
1431 
1432  yy_current_state = yy_get_previous_state ();
1433 
1434  yy_cp = yy_c_buf_p;
1435  yy_bp = yytext + YY_MORE_ADJ;
1436  goto yy_match;
1437 
1438  case EOB_ACT_LAST_MATCH:
1439  yy_c_buf_p = &yy_current_buffer->yy_ch_buf[yy_n_chars];
1440 
1441  yy_current_state = yy_get_previous_state ();
1442 
1443  yy_cp = yy_c_buf_p;
1444  yy_bp = yytext + YY_MORE_ADJ;
1445  goto yy_find_action;
1446  }
1447  break;
1448  }
1449 
1450  default:
1451 #ifdef FLEX_DEBUG
1452  printf ("action # %d\n", yy_act);
1453 #endif
1454  YY_FATAL_ERROR ("fatal flex scanner internal error--no action found");
1455  }
1456  }
1457 }
1458 
1459 
1460 /* yy_get_next_buffer - try to read in a new buffer
1461  *
1462  * synopsis
1463  * int yy_get_next_buffer();
1464  *
1465  * returns a code representing an action
1466  * EOB_ACT_LAST_MATCH -
1467  * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1468  * EOB_ACT_END_OF_FILE - end of file
1469  */
1470 
1471 static int
1473 {
1474  YY_CHAR *dest = yy_current_buffer->yy_ch_buf;
1475  YY_CHAR *source = yytext - 1; /* copy prev. char, too */
1476  int number_to_move, i;
1477  int ret_val;
1478 
1479  if (yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1])
1480  YY_FATAL_ERROR ("fatal flex scanner internal error--end of buffer missed");
1481 
1482  /* try to read more data */
1483 
1484  /* first move last chars to start of buffer */
1485  number_to_move = (int) (yy_c_buf_p - yytext);
1486 
1487  for (i = 0; i < number_to_move; ++i)
1488  *(dest++) = *(source++);
1489 
1490  if (yy_current_buffer->yy_eof_status != EOF_NOT_SEEN)
1491  /* don't do the read, it's not guaranteed to return an EOF, just force an EOF */
1492  yy_n_chars = 0;
1493 
1494  else
1495  {
1496  int num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1;
1497 
1498  if (num_to_read > YY_READ_BUF_SIZE)
1499  num_to_read = YY_READ_BUF_SIZE;
1500 
1501  else if (num_to_read <= 0)
1502  YY_FATAL_ERROR ("fatal error - scanner input buffer overflow");
1503 
1504  /* read in more data */
1505  YY_INPUT ((&yy_current_buffer->yy_ch_buf[number_to_move]), yy_n_chars, num_to_read);
1506  }
1507 
1508  if (yy_n_chars == 0)
1509  {
1510  if (number_to_move == 1)
1511  {
1512  ret_val = EOB_ACT_END_OF_FILE;
1513  yy_current_buffer->yy_eof_status = EOF_DONE;
1514  }
1515 
1516  else
1517  {
1518  ret_val = EOB_ACT_LAST_MATCH;
1519  yy_current_buffer->yy_eof_status = EOF_PENDING;
1520  }
1521  }
1522 
1523  else
1524  ret_val = EOB_ACT_CONTINUE_SCAN;
1525 
1526  yy_n_chars += number_to_move;
1527  yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
1528  yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
1529 
1530  /* yytext begins at the second character in yy_ch_buf; the first character is the one which preceded it before
1531  * reading in the latest buffer; it needs to be kept around in case it's a newline, so yy_get_previous_state() will
1532  * have with '^' rules active */
1533 
1534  yytext = &yy_current_buffer->yy_ch_buf[1];
1535 
1536  return (ret_val);
1537 }
1538 
1539 
1540 /* yy_get_previous_state - get the state just before the EOB char was reached
1541  *
1542  * synopsis
1543  * yy_state_type yy_get_previous_state();
1544  */
1545 
1546 static yy_state_type
1548 {
1549  yy_state_type yy_current_state;
1550  YY_CHAR *yy_cp;
1551 
1552  yy_current_state = yy_start;
1553 
1554  for (yy_cp = yytext + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp)
1555  {
1556  YY_CHAR yy_c = (*yy_cp ? yy_ec[*yy_cp] : 1);
1557  if (yy_accept[yy_current_state])
1558  {
1559  yy_last_accepting_state = yy_current_state;
1561  }
1562  while (yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state)
1563  {
1564  yy_current_state = yy_def[yy_current_state];
1565  if (yy_current_state >= 353)
1566  yy_c = yy_meta[yy_c];
1567  }
1568  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1569  }
1570 
1571  return (yy_current_state);
1572 }
1573 
1574 
1575 /* yy_try_NUL_trans - try to make a transition on the NUL character
1576  *
1577  * synopsis
1578  * next_state = yy_try_NUL_trans( current_state );
1579  */
1580 
1581 #ifdef YY_USE_PROTOS
1582 static yy_state_type
1583 yy_try_NUL_trans (yy_state_type yy_current_state)
1584 #else
1585 static yy_state_type
1586 yy_try_NUL_trans (yy_current_state)
1587  register yy_state_type yy_current_state;
1588 #endif
1589 
1590 {
1591  int yy_is_jam;
1592  YY_CHAR *yy_cp = yy_c_buf_p;
1593 
1594  YY_CHAR yy_c = 1;
1595  if (yy_accept[yy_current_state])
1596  {
1597  yy_last_accepting_state = yy_current_state;
1599  }
1600  while (yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state)
1601  {
1602  yy_current_state = yy_def[yy_current_state];
1603  if (yy_current_state >= 353)
1604  yy_c = yy_meta[yy_c];
1605  }
1606  yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1607  yy_is_jam = (yy_current_state == 352);
1608 
1609  return (yy_is_jam ? 0 : yy_current_state);
1610 }
1611 
1612 
1613 #ifdef YY_USE_PROTOS
1614 static void
1615 yyunput (YY_CHAR c, YY_CHAR * yy_bp)
1616 #else
1617 static void
1618 yyunput (c, yy_bp)
1619  YY_CHAR c;
1620  register YY_CHAR *yy_bp;
1621 #endif
1622 
1623 {
1624  YY_CHAR *yy_cp = yy_c_buf_p;
1625 
1626  /* undo effects of setting up yytext */
1627  *yy_cp = yy_hold_char;
1628 
1629  if (yy_cp < yy_current_buffer->yy_ch_buf + 2)
1630  { /* need to shift things up to make room */
1631  int number_to_move = yy_n_chars + 2; /* +2 for EOB chars */
1632  YY_CHAR *dest = &yy_current_buffer->yy_ch_buf[yy_current_buffer->yy_buf_size + 2];
1633  YY_CHAR *source = &yy_current_buffer->yy_ch_buf[number_to_move];
1634 
1635  while (source > yy_current_buffer->yy_ch_buf)
1636  *--dest = *--source;
1637 
1638  yy_cp += dest - source;
1639  yy_bp += dest - source;
1640  yy_n_chars = yy_current_buffer->yy_buf_size;
1641 
1642  if (yy_cp < yy_current_buffer->yy_ch_buf + 2)
1643  YY_FATAL_ERROR ("flex scanner push-back overflow");
1644  }
1645 
1646  if (yy_cp > yy_bp && yy_cp[-1] == '\n')
1647  yy_cp[-2] = '\n';
1648 
1649  *--yy_cp = c;
1650 
1651  /* note: the formal parameter *must* be called "yy_bp" for this macro to now work correctly */
1652  YY_DO_BEFORE_ACTION; /* set up yytext again */
1653 }
1654 
1655 
1656 #ifdef __cplusplus
1657 static int
1658 yyinput ()
1659 #else
1660 static int
1662 #endif
1663 {
1664  int c;
1665  YY_CHAR *yy_cp = yy_c_buf_p;
1666 
1667  *yy_cp = yy_hold_char;
1668 
1670  {
1671  /* yy_c_buf_p now points to the character we want to return. If this occurs *before* the EOB characters, then
1672  * it's a valid NUL; if not, then we've hit the end of the buffer. */
1673  if (yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars])
1674  /* this was really a NUL */
1675  *yy_c_buf_p = '\0';
1676 
1677  else
1678  { /* need more input */
1679  yytext = yy_c_buf_p;
1680  ++yy_c_buf_p;
1681 
1682  switch (yy_get_next_buffer ())
1683  {
1684  case EOB_ACT_END_OF_FILE:
1685  {
1686  if (yywrap ())
1687  {
1689  return (EOF);
1690  }
1691 
1692  YY_NEW_FILE;
1693 
1694 #ifdef __cplusplus
1695  return (yyinput ());
1696 #else
1697  return (input ());
1698 #endif
1699  }
1700  break;
1701 
1702  case EOB_ACT_CONTINUE_SCAN:
1704  break;
1705 
1706  case EOB_ACT_LAST_MATCH:
1707 #ifdef __cplusplus
1708  YY_FATAL_ERROR ("unexpected last match in yyinput()");
1709 #else
1710  YY_FATAL_ERROR ("unexpected last match in input()");
1711 #endif
1712  }
1713  }
1714  }
1715 
1716  c = *yy_c_buf_p;
1717  yy_hold_char = *++yy_c_buf_p;
1718 
1719  return (c);
1720 }
1721 
1722 
1723 #ifdef YY_USE_PROTOS
1724 void
1725 yyrestart (FILE * input_file)
1726 #else
1727 void
1728 yyrestart (input_file)
1729  FILE *input_file;
1730 #endif
1731 
1732 {
1733  yy_init_buffer (yy_current_buffer, input_file);
1735 }
1736 
1737 
1738 #ifdef YY_USE_PROTOS
1739 void
1740 yy_switch_to_buffer (YY_BUFFER_STATE new_buffer)
1741 #else
1742 void
1744  YY_BUFFER_STATE new_buffer;
1745 #endif
1746 
1747 {
1748  if (yy_current_buffer == new_buffer)
1749  return;
1750 
1751  if (yy_current_buffer)
1752  {
1753  /* flush out information for old buffer */
1755  yy_current_buffer->yy_buf_pos = yy_c_buf_p;
1756  yy_current_buffer->yy_n_chars = yy_n_chars;
1757  }
1758 
1759  yy_current_buffer = new_buffer;
1761 
1762  /* we don't actually know whether we did this switch during EOF (yywrap()) processing, but the only time this flag is
1763  * looked at is after yywrap() is called, so it's safe to go ahead and always set it. */
1765 }
1766 
1767 
1768 #ifdef YY_USE_PROTOS
1769 void
1770 yy_load_buffer_state (void)
1771 #else
1772 void
1774 #endif
1775 {
1776  yy_n_chars = yy_current_buffer->yy_n_chars;
1777  yytext = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
1778  yyin = yy_current_buffer->yy_input_file;
1780 }
1781 
1782 
1783 #ifdef YY_USE_PROTOS
1784 YY_BUFFER_STATE
1785 yy_create_buffer (FILE * file, int size)
1786 #else
1787 YY_BUFFER_STATE
1788 yy_create_buffer (file, size)
1789  FILE *file;
1790  int size;
1791 #endif
1792 
1793 {
1794  YY_BUFFER_STATE b;
1795 
1796  b = (YY_BUFFER_STATE) malloc (sizeof (struct yy_buffer_state));
1797 
1798  if (!b)
1799  YY_FATAL_ERROR ("out of dynamic memory in yy_create_buffer()");
1800 
1801  b->yy_buf_size = size;
1802 
1803  /* yy_ch_buf has to be 2 characters longer than the size given because we need to put in 2 end-of-buffer characters. */
1804  b->yy_ch_buf = (YY_CHAR *) malloc ((unsigned) (b->yy_buf_size + 2));
1805 
1806  if (!b->yy_ch_buf)
1807  YY_FATAL_ERROR ("out of dynamic memory in yy_create_buffer()");
1808 
1809  yy_init_buffer (b, file);
1810 
1811  return (b);
1812 }
1813 
1814 
1815 #ifdef YY_USE_PROTOS
1816 void
1817 yy_delete_buffer (YY_BUFFER_STATE b)
1818 #else
1819 void
1821  YY_BUFFER_STATE b;
1822 #endif
1823 
1824 {
1825  if (b == yy_current_buffer)
1826  yy_current_buffer = (YY_BUFFER_STATE) 0;
1827 
1828  free ((char *) b->yy_ch_buf);
1829  free ((char *) b);
1830 }
1831 
1832 
1833 #ifdef YY_USE_PROTOS
1834 void
1835 yy_init_buffer (YY_BUFFER_STATE b, FILE * file)
1836 #else
1837 void
1839  YY_BUFFER_STATE b;
1840  FILE *file;
1841 #endif
1842 
1843 {
1844  b->yy_input_file = file;
1845 
1846  /* we put in the '\n' and start reading from [1] so that an initial match-at-newline will be true. */
1847 
1848  b->yy_ch_buf[0] = '\n';
1849  b->yy_n_chars = 1;
1850 
1851  /* we always need two end-of-buffer characters. The first causes a transition to the end-of-buffer state. The
1852  * second causes a jam in that state. */
1853  b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
1854  b->yy_ch_buf[2] = YY_END_OF_BUFFER_CHAR;
1855 
1856  b->yy_buf_pos = &b->yy_ch_buf[1];
1857 
1858  b->yy_eof_status = EOF_NOT_SEEN;
1859 }
1860 
1861 /*
1862  * cnv_fmt_analyze() - Initialize lexical scan of instring, using
1863  * the given scan mode.
1864  * return:
1865  * instring(in) :
1866  * mode(in) :
1867  */
1868 void
1869 cnv_fmt_analyze (const char *instring, FMT_LEX_MODE mode)
1870 {
1871  assert (instring);
1872  cnv_fmt__input = cnv_fmt__next = instring;
1873  yy_init = 1;
1874  cnv_fmt__unlex = 0;
1875  cnv_fmt__mode = mode;
1876 }
1877 
1878 /*
1879  * cnv_fmt_unlex() - Push back the current token so that it can be read again.
1880  * return:
1881  */
1882 void
1884 {
1885  cnv_fmt__unlex = 1; /* see rules section */
1886 }
1887 
1888 /*
1889  * cnv_fmt_next_token() - Return pointer to next lexical token in value string.
1890  * return:
1891  */
1892 const char *
1894 {
1895  return cnv_fmt__next;
1896 }
1897 
1898 /*
1899  * cnv_fmt_lex_start() - Return the start condition for the given scan mode.
1900  * return:
1901  * mode(in) :
1902  */
1903 static int
1905 {
1906  return mode == FL_LOCAL_NUMBER ? cnv_fmt_lex_start (cnv_fmt_number_mode (intl_zone (LC_MONETARY))) : mode ==
1919 }
1920 
1921 
1922 /*
1923  * cnv_fmt_number_mode() - Return the number value scan mode for the given zone.
1924  * return:
1925  * zone(in) :
1926  */
1929 {
1931 
1932  switch (zone)
1933  {
1934  case INTL_ZONE_US:
1935  {
1936  mode = FL_US_ENG_NUMBER;
1937  break;
1938  }
1939  case INTL_ZONE_KR:
1940  {
1941  mode = FL_KO_KR_NUMBER;
1942  break;
1943  }
1944  default:
1945  {
1946  assert (!"Zone not implemented!");
1947  mode = FL_US_ENG_NUMBER;
1948  break;
1949  }
1950  }
1951 
1952  return mode;
1953 }
1954 
1955 
1956 /*
1957  * cnv_fmt_time_mode() - Return the time value scan mode for the given zone.
1958  * return:
1959  * zone(in) :
1960  */
1963 {
1965 
1966  switch (zone)
1967  {
1968  case INTL_ZONE_US:
1969  {
1970  mode = FL_US_ENG_TIME;
1971  break;
1972  }
1973  case INTL_ZONE_KR:
1974  {
1975  mode = FL_KO_KR_TIME;
1976  break;
1977  }
1978 
1979  default:
1980  {
1981  assert (!"Zone not implemented!");
1982  mode = FL_US_ENG_TIME;
1983  break;
1984  }
1985  }
1986 
1987  return mode;
1988 }
1989 
1990 /*
1991  * cnv_fmt_exit() - Free buffers when exit.
1992  * return:
1993  */
1994 void
1996 {
1997  if (YY_CURRENT_BUFFER != NULL)
1998  {
2001  }
2002 }
#define EOB_ACT_CONTINUE_SCAN
Definition: cnvlex.c:269
#define YY_USER_ACTION
Definition: cnvlex.c:196
#define SC_KO_KR_TIME
Definition: cnvlex.c:217
FMT_LEX_MODE cnv_fmt_number_mode(INTL_ZONE zone)
Definition: cnvlex.c:1928
#define SC_BIT_STRING
Definition: cnvlex.c:218
static const short int yy_nxt[954]
Definition: cnvlex.c:510
int yy_n_chars
Definition: cnvlex.c:298
static yy_state_type yy_last_accepting_state
Definition: cnvlex.c:726
Definition: cnvlex.h:67
#define DB_FMT_LEX_RETURN(t)
Definition: cnvlex.c:209
#define EOB_ACT_END_OF_FILE
Definition: cnvlex.c:270
#define yyin
Definition: cnvlex.c:249
#define ECHO
Definition: cnvlex.c:98
#define yy_init_buffer
Definition: cnvlex.c:245
static yy_state_type yy_get_previous_state YY_PROTO((void))
YY_CHAR * yy_cp
Definition: cnvlex.c:771
#define yywrap()
Definition: cnvlex.c:126
#define yyrestart
Definition: cnvlex.c:252
FMT_LEX_MODE cnv_fmt_time_mode(INTL_ZONE zone)
Definition: cnvlex.c:1962
static YY_BUFFER_STATE yy_current_buffer
Definition: cnvlex.c:307
int yy_buf_size
Definition: cnvlex.c:295
FMT_LEX_MODE
Definition: cnvlex.h:37
intl_zone
Definition: intl_support.h:143
YY_CHAR * yy_buf_pos
Definition: cnvlex.c:292
#define SC_VALIDATE_FLOAT_FORMAT
Definition: cnvlex.c:223
#define unput(c)
Definition: cnvlex.c:284
#define YY_FATAL_ERROR(msg)
Definition: cnvlex.c:116
void cnv_fmt_analyze(const char *instring, FMT_LEX_MODE mode)
Definition: cnvlex.c:1869
struct yy_buffer_state * YY_BUFFER_STATE
Definition: cnvlex.c:160
#define yy_create_buffer
Definition: cnvlex.c:243
Definition: cnvlex.h:89
#define YY_END_OF_BUFFER_CHAR
Definition: cnvlex.c:154
#define SC_US_ENG_TIME
Definition: cnvlex.c:216
static YY_CHAR yy_hold_char
Definition: cnvlex.c:317
#define SC_KO_KR_NUMBER
Definition: cnvlex.c:215
#define EOF_NOT_SEEN
Definition: cnvlex.c:301
int yy_state_type
Definition: cnvlex.c:336
static const short int yy_base[373]
Definition: cnvlex.c:422
#define SC_VALIDATE_BIT_STRING_FORMAT
Definition: cnvlex.c:228
#define yy_delete_buffer
Definition: cnvlex.c:244
#define assert(x)
static YY_CHAR * yy_last_accepting_cpos
Definition: cnvlex.c:727
static int input()
Definition: cnvlex.c:1661
static const char * cnv_fmt__next
Definition: cnvlex.c:180
#define EOF_PENDING
Definition: cnvlex.c:303
#define YY_INPUT(buf, result, max_size)
Definition: cnvlex.c:192
void cnv_fmt_exit(void)
Definition: cnvlex.c:1995
#define INITIAL
Definition: cnvlex.c:163
#define yyterminate()
Definition: cnvlex.c:112
#define EOF_DONE
Definition: cnvlex.c:304
#define yyout
Definition: cnvlex.c:251
static enum scanner_mode mode
YY_CHAR * yy_bp
Definition: cnvlex.c:771
Definition: cnvlex.h:61
const char * cnv_fmt_next_token()
Definition: cnvlex.c:1893
#define NULL
Definition: freelistheap.h:34
int yy_eof_status
Definition: cnvlex.c:300
static const YY_CHAR yy_meta[82]
Definition: cnvlex.c:410
#define YY_NEW_FILE
Definition: cnvlex.c:138
#define YY_END_OF_BUFFER
Definition: cnvlex.c:335
#define yy_load_buffer_state
Definition: cnvlex.c:246
static FMT_LEX_MODE cnv_fmt__mode
Definition: cnvlex.c:182
enum intl_zone INTL_ZONE
Definition: intl_support.h:150
static int yy_get_next_buffer()
Definition: cnvlex.c:1472
#define yy_switch_to_buffer
Definition: cnvlex.c:247
#define YY_CHAR
Definition: cnvlex.c:162
#define yytext
Definition: cnvlex.c:253
static int cnv_fmt_lex_start(FMT_LEX_MODE mode)
Definition: cnvlex.c:1904
static const short int yy_chk[954]
Definition: cnvlex.c:618
static const YY_CHAR yy_ec[256]
Definition: cnvlex.c:379
#define SC_VALIDATE_DATE_FORMAT
Definition: cnvlex.c:222
#define yyunput
Definition: cnvlex.c:254
#define YY_USER_INIT
Definition: cnvlex.c:201
static int yy_start
Definition: cnvlex.c:742
void cnv_fmt_unlex()
Definition: cnvlex.c:1883
static int cnv_fmt__unlex
Definition: cnvlex.c:181
static const char * cnv_fmt__input
Definition: cnvlex.c:179
#define EOB_ACT_LAST_MATCH
Definition: cnvlex.c:271
#define YY_READ_BUF_SIZE
Definition: cnvlex.c:185
FILE * yy_input_file
Definition: cnvlex.c:289
static int yy_init
Definition: cnvlex.c:741
Definition: cnvlex.h:73
int i
Definition: dynamic_load.c:954
#define SC_VALIDATE_INTEGER_FORMAT
Definition: cnvlex.c:224
Definition: cnvlex.h:84
static YY_CHAR * yy_c_buf_p
Definition: cnvlex.c:740
#define SC_VALIDATE_TIME_FORMAT
Definition: cnvlex.c:226
#define SC_US_ENG_NUMBER
Definition: cnvlex.c:214
#define SC_VALIDATE_TIMESTAMP_FORMAT
Definition: cnvlex.c:227
#define YY_MORE_ADJ
Definition: cnvlex.c:734
#define YY_DO_BEFORE_ACTION
Definition: cnvlex.c:262
#define SC_INTEGER_FORMAT
Definition: cnvlex.c:219
static yy_state_type yy_get_previous_state()
Definition: cnvlex.c:1547
#define yyleng
Definition: cnvlex.c:250
static int yy_did_buffer_switch_on_eof
Definition: cnvlex.c:747
#define YY_DECL
Definition: cnvlex.c:188
static int cnv_fmt__init
Definition: cnvlex.c:178
#define YY_CURRENT_BUFFER
Definition: cnvlex.c:313
#define YY_BREAK
Definition: cnvlex.c:152
#define SC_BIT_STRING_FORMAT
Definition: cnvlex.c:221
static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state)
Definition: cnvlex.c:1586
#define YY_STATE_EOF(state)
Definition: cnvlex.c:135
#define SC_VALIDATE_MONETARY_FORMAT
Definition: cnvlex.c:225
#define YY_BUF_SIZE
Definition: cnvlex.c:157
int yy_act
Definition: cnvlex.c:772
#define SC_TIME_FORMAT
Definition: cnvlex.c:220
static const short int yy_accept[353]
Definition: cnvlex.c:337
YY_CHAR * yy_ch_buf
Definition: cnvlex.c:291
static const short int yy_def[373]
Definition: cnvlex.c:466