1:
2: #line 3 "ldlex.c"
3:
4: #define YY_INT_ALIGNED short int
5:
6:
7:
8: #define FLEX_SCANNER
9: #define YY_FLEX_MAJOR_VERSION 2
10: #define YY_FLEX_MINOR_VERSION 5
11: #define YY_FLEX_SUBMINOR_VERSION 33
12: #if YY_FLEX_SUBMINOR_VERSION > 0
13: #define FLEX_BETA
14: #endif
15:
16:
17:
18:
19: #include <stdio.h>
20: #include <string.h>
21: #include <errno.h>
22: #include <stdlib.h>
23:
24:
25:
26:
27:
28: #ifndef FLEXINT_H
29: #define FLEXINT_H
30:
31:
32:
33: #if __STDC_VERSION__ >= 199901L
34:
35:
36:
37:
38: #ifndef __STDC_LIMIT_MACROS
39: #define __STDC_LIMIT_MACROS 1
40: #endif
41:
42: #include <inttypes.h>
43: typedef int8_t flex_int8_t;
44: typedef uint8_t flex_uint8_t;
45: typedef int16_t flex_int16_t;
46: typedef uint16_t flex_uint16_t;
47: typedef int32_t flex_int32_t;
48: typedef uint32_t flex_uint32_t;
49: #else
50: typedef signed char flex_int8_t;
51: typedef short int flex_int16_t;
52: typedef int flex_int32_t;
53: typedef unsigned char flex_uint8_t;
54: typedef unsigned short int flex_uint16_t;
55: typedef unsigned int flex_uint32_t;
56: #endif
57:
58:
59: #ifndef INT8_MIN
60: #define INT8_MIN (-128)
61: #endif
62: #ifndef INT16_MIN
63: #define INT16_MIN (-32767-1)
64: #endif
65: #ifndef INT32_MIN
66: #define INT32_MIN (-2147483647-1)
67: #endif
68: #ifndef INT8_MAX
69: #define INT8_MAX (127)
70: #endif
71: #ifndef INT16_MAX
72: #define INT16_MAX (32767)
73: #endif
74: #ifndef INT32_MAX
75: #define INT32_MAX (2147483647)
76: #endif
77: #ifndef UINT8_MAX
78: #define UINT8_MAX (255U)
79: #endif
80: #ifndef UINT16_MAX
81: #define UINT16_MAX (65535U)
82: #endif
83: #ifndef UINT32_MAX
84: #define UINT32_MAX (4294967295U)
85: #endif
86:
87: #endif
88:
89: #ifdef __cplusplus
90:
91:
92: #define YY_USE_CONST
93:
94: #else
95:
96: #if __STDC__
97:
98: #define YY_USE_CONST
99:
100: #endif
101: #endif
102:
103: #ifdef YY_USE_CONST
104: #define yyconst const
105: #else
106: #define yyconst
107: #endif
108:
109:
110: #define YY_NULL 0
111:
112:
113:
114:
115:
116:
117: #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
118:
119:
120:
121:
122:
123: #define BEGIN (yy_start) = 1 + 2 *
124:
125:
126:
127:
128:
129: #define YY_START (((yy_start) - 1) / 2)
130: #define YYSTATE YY_START
131:
132:
133: #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
134:
135:
136: #define YY_NEW_FILE yyrestart(yyin )
137:
138: #define YY_END_OF_BUFFER_CHAR 0
139:
140:
141: #ifndef YY_BUF_SIZE
142: #define YY_BUF_SIZE 16384
143: #endif
144:
145:
146:
147: #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
148:
149: #ifndef YY_TYPEDEF_YY_BUFFER_STATE
150: #define YY_TYPEDEF_YY_BUFFER_STATE
151: typedef struct yy_buffer_state *YY_BUFFER_STATE;
152: #endif
153:
154: extern int yyleng;
155:
156: extern FILE *yyin, *yyout;
157:
158: #define EOB_ACT_CONTINUE_SCAN 0
159: #define EOB_ACT_END_OF_FILE 1
160: #define EOB_ACT_LAST_MATCH 2
161:
162: #define YY_LESS_LINENO(n)
163:
164:
165: #define yyless(n) \
166: do \
167: { \
168: \
169: int yyless_macro_arg = (n); \
170: YY_LESS_LINENO(yyless_macro_arg);\
171: *yy_cp = (yy_hold_char); \
172: YY_RESTORE_YY_MORE_OFFSET \
173: (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
174: YY_DO_BEFORE_ACTION; \
175: } \
176: while ( 0 )
177:
178: #define unput(c) yyunput( c, (yytext_ptr) )
179:
180:
181:
182:
183:
184:
185: #ifndef YY_TYPEDEF_YY_SIZE_T
186: #define YY_TYPEDEF_YY_SIZE_T
187: typedef unsigned int yy_size_t;
188: #endif
189:
190: #ifndef YY_STRUCT_YY_BUFFER_STATE
191: #define YY_STRUCT_YY_BUFFER_STATE
192: struct yy_buffer_state
193: {
194: FILE *yy_input_file;
195:
196: char *yy_ch_buf;
197: char *yy_buf_pos;
198:
199:
200:
201:
202: yy_size_t yy_buf_size;
203:
204:
205:
206:
207: int yy_n_chars;
208:
209:
210:
211:
212:
213: int yy_is_our_buffer;
214:
215:
216:
217:
218:
219:
220: int yy_is_interactive;
221:
222:
223:
224:
225:
226: int yy_at_bol;
227:
228: int yy_bs_lineno;
229: int yy_bs_column;
230:
231:
232:
233:
234: int yy_fill_buffer;
235:
236: int yy_buffer_status;
237:
238: #define YY_BUFFER_NEW 0
239: #define YY_BUFFER_NORMAL 1
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250: #define YY_BUFFER_EOF_PENDING 2
251:
252: };
253: #endif
254:
255:
256: static size_t yy_buffer_stack_top = 0;
257: static size_t yy_buffer_stack_max = 0;
258: static YY_BUFFER_STATE * yy_buffer_stack = 0;
259:
260:
261:
262:
263:
264:
265:
266: #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
267: ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
268: : NULL)
269:
270:
271:
272:
273: #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
274:
275:
276: static char yy_hold_char;
277: static int yy_n_chars;
278: int yyleng;
279:
280:
281: static char *yy_c_buf_p = (char *) 0;
282: static int yy_init = 0;
283: static int yy_start = 0;
284:
285:
286:
287:
288: static int yy_did_buffer_switch_on_eof;
289:
290: void yyrestart (FILE *input_file );
291: void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
292: YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
293: void yy_delete_buffer (YY_BUFFER_STATE b );
294: void yy_flush_buffer (YY_BUFFER_STATE b );
295: void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
296: void yypop_buffer_state (void );
297:
298: static void yyensure_buffer_stack (void );
299: static void yy_load_buffer_state (void );
300: static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
301:
302: #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
303:
304: YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
305: YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
306: YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
307:
308: void *yyalloc (yy_size_t );
309: void *yyrealloc (void *,yy_size_t );
310: void yyfree (void * );
311:
312: #define yy_new_buffer yy_create_buffer
313:
314: #define yy_set_interactive(is_interactive) \
315: { \
316: if ( ! YY_CURRENT_BUFFER ){ \
317: yyensure_buffer_stack (); \
318: YY_CURRENT_BUFFER_LVALUE = \
319: yy_create_buffer(yyin,YY_BUF_SIZE ); \
320: } \
321: YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
322: }
323:
324: #define yy_set_bol(at_bol) \
325: { \
326: if ( ! YY_CURRENT_BUFFER ){\
327: yyensure_buffer_stack (); \
328: YY_CURRENT_BUFFER_LVALUE = \
329: yy_create_buffer(yyin,YY_BUF_SIZE ); \
330: } \
331: YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
332: }
333:
334: #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
335:
336:
337:
338: typedef unsigned char YY_CHAR;
339:
340: FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
341:
342: typedef int yy_state_type;
343:
344: extern int yylineno;
345:
346: int yylineno = 1;
347:
348: extern char *yytext;
349: #define yytext_ptr yytext
350:
351: static yy_state_type yy_get_previous_state (void );
352: static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
353: static int yy_get_next_buffer (void );
354: static void yy_fatal_error (yyconst char msg[] );
355:
356:
357:
358:
359: #define YY_DO_BEFORE_ACTION \
360: (yytext_ptr) = yy_bp; \
361: yyleng = (size_t) (yy_cp - yy_bp); \
362: (yy_hold_char) = *yy_cp; \
363: *yy_cp = '\0'; \
364: (yy_c_buf_p) = yy_cp;
365:
366: #define YY_NUM_RULES 186
367: #define YY_END_OF_BUFFER 187
368:
369:
370: struct yy_trans_info
371: {
372: flex_int32_t yy_verify;
373: flex_int32_t yy_nxt;
374: };
375: static yyconst flex_int16_t yy_accept[1536] =
376: { 0,
377: 0, 0, 166, 166, 0, 0, 0, 0, 0, 0,
378: 0, 0, 0, 0, 0, 0, 0, 0, 187, 186,
379: 184, 169, 168, 32, 184, 166, 38, 29, 44, 43,
380: 34, 35, 28, 36, 166, 37, 8, 8, 45, 46,
381: 39, 40, 27, 33, 166, 166, 166, 166, 166, 166,
382: 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
383: 166, 166, 166, 10, 9, 166, 111, 109, 166, 42,
384: 30, 41, 31, 185, 169, 32, 185, 164, 38, 29,
385: 44, 43, 34, 35, 28, 36, 164, 37, 8, 8,
386: 45, 46, 39, 40, 27, 33, 164, 164, 164, 164,
387:
388: 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
389: 164, 10, 9, 164, 164, 42, 30, 41, 31, 162,
390: 36, 162, 37, 8, 8, 162, 162, 162, 162, 162,
391: 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
392: 162, 162, 162, 162, 162, 111, 109, 162, 31, 4,
393: 3, 2, 4, 5, 123, 122, 161, 34, 35, 28,
394: 36, 161, 37, 8, 8, 45, 46, 40, 33, 161,
395: 161, 161, 161, 161, 161, 161, 161, 161, 161, 161,
396: 161, 10, 9, 161, 161, 161, 161, 161, 161, 161,
397: 161, 161, 161, 161, 31, 183, 181, 182, 184, 176,
398:
399: 175, 170, 177, 178, 174, 174, 174, 174, 179, 180,
400: 169, 15, 0, 167, 166, 8, 26, 24, 22, 20,
401: 21, 1, 23, 8, 8, 166, 18, 17, 14, 16,
402: 19, 166, 166, 166, 166, 115, 166, 166, 166, 166,
403: 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
404: 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
405: 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
406: 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
407: 166, 25, 13, 164, 6, 22, 20, 21, 0, 1,
408: 23, 8, 0, 7, 7, 8, 7, 14, 164, 7,
409:
410: 7, 7, 164, 164, 115, 7, 164, 164, 7, 164,
411: 164, 164, 7, 164, 164, 164, 164, 164, 164, 164,
412: 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
413: 7, 164, 162, 8, 0, 23, 8, 0, 162, 162,
414: 162, 162, 115, 162, 162, 162, 162, 162, 162, 162,
415: 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
416: 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
417: 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
418: 162, 162, 162, 162, 162, 162, 162, 162, 162, 4,
419: 4, 122, 122, 161, 6, 124, 22, 125, 161, 7,
420:
421: 7, 7, 161, 161, 161, 7, 161, 7, 7, 161,
422: 161, 161, 161, 161, 161, 161, 161, 7, 161, 161,
423: 161, 7, 161, 7, 7, 161, 161, 161, 161, 161,
424: 161, 161, 161, 183, 182, 175, 174, 0, 174, 174,
425: 174, 11, 12, 166, 166, 166, 166, 166, 166, 166,
426: 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
427: 166, 166, 166, 166, 87, 166, 166, 166, 166, 166,
428: 166, 166, 166, 69, 166, 166, 166, 166, 166, 166,
429: 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
430: 166, 166, 166, 166, 166, 166, 166, 166, 166, 166,
431:
432: 112, 110, 166, 8, 165, 8, 164, 7, 164, 164,
433: 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
434: 164, 164, 164, 164, 60, 61, 164, 164, 164, 164,
435: 164, 164, 164, 164, 164, 164, 164, 164, 164, 8,
436: 163, 162, 162, 162, 162, 162, 162, 162, 162, 162,
437: 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
438: 162, 162, 87, 162, 162, 162, 162, 162, 162, 162,
439: 162, 69, 60, 162, 61, 162, 162, 162, 162, 162,
440: 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
441: 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
442:
443: 112, 110, 162, 4, 8, 161, 161, 161, 161, 161,
444: 126, 161, 161, 161, 161, 161, 161, 161, 161, 161,
445: 161, 161, 161, 161, 161, 161, 143, 161, 161, 161,
446: 161, 161, 161, 161, 161, 161, 161, 174, 174, 174,
447: 166, 57, 166, 166, 166, 51, 166, 94, 166, 103,
448: 166, 166, 166, 166, 166, 166, 166, 83, 166, 166,
449: 166, 166, 104, 166, 166, 119, 166, 166, 92, 166,
450: 65, 166, 166, 166, 166, 166, 166, 166, 166, 166,
451: 90, 166, 166, 166, 166, 166, 100, 166, 166, 166,
452: 166, 166, 166, 166, 166, 166, 164, 57, 164, 164,
453:
454: 164, 51, 164, 164, 103, 164, 164, 164, 164, 164,
455: 104, 119, 164, 164, 65, 164, 164, 164, 164, 164,
456: 164, 164, 164, 164, 164, 164, 164, 162, 57, 162,
457: 162, 162, 51, 162, 94, 162, 103, 162, 162, 162,
458: 162, 162, 162, 162, 83, 162, 162, 162, 162, 104,
459: 162, 162, 119, 162, 162, 92, 162, 65, 162, 162,
460: 162, 162, 162, 162, 162, 162, 162, 90, 162, 162,
461: 162, 162, 162, 100, 162, 162, 162, 162, 162, 162,
462: 162, 162, 162, 161, 161, 161, 130, 138, 129, 161,
463: 161, 140, 133, 136, 161, 161, 141, 161, 161, 161,
464:
465: 161, 161, 147, 155, 146, 161, 161, 158, 150, 153,
466: 161, 161, 159, 161, 161, 174, 174, 174, 166, 53,
467: 166, 166, 50, 166, 166, 166, 166, 102, 63, 166,
468: 166, 89, 166, 75, 166, 166, 74, 166, 166, 166,
469: 166, 166, 166, 166, 166, 166, 166, 114, 166, 166,
470: 166, 166, 93, 166, 166, 166, 91, 166, 166, 166,
471: 166, 166, 166, 166, 164, 53, 164, 164, 50, 164,
472: 164, 164, 102, 164, 75, 164, 164, 164, 164, 164,
473: 164, 164, 164, 164, 164, 164, 164, 164, 164, 162,
474: 53, 162, 162, 50, 162, 162, 162, 162, <