version 1.12 | | version 1.13 |
---|
| | |
#define FLEX_SCANNER | | #define FLEX_SCANNER |
#define YY_FLEX_MAJOR_VERSION 2 | | #define YY_FLEX_MAJOR_VERSION 2 |
#define YY_FLEX_MINOR_VERSION 5 | | #define YY_FLEX_MINOR_VERSION 5 |
#define YY_FLEX_SUBMINOR_VERSION 31 | | #define YY_FLEX_SUBMINOR_VERSION 33 |
#if YY_FLEX_SUBMINOR_VERSION > 0 | | #if YY_FLEX_SUBMINOR_VERSION > 0 |
#define FLEX_BETA | | #define FLEX_BETA |
#endif | | #endif |
| | |
| | |
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ | | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ |
| | |
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L | | #if __STDC_VERSION__ >= 199901L |
| | |
| | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, |
| | * if you want the limit (max/min) macros for int types. |
| | */ |
| | #ifndef __STDC_LIMIT_MACROS |
| | #define __STDC_LIMIT_MACROS 1 |
| | #endif |
| | |
#include <inttypes.h> | | #include <inttypes.h> |
typedef int8_t flex_int8_t; | | typedef int8_t flex_int8_t; |
typedef uint8_t flex_uint8_t; | | typedef uint8_t flex_uint8_t; |
| | |
#define YY_BUF_SIZE 16384 | | #define YY_BUF_SIZE 16384 |
#endif | | #endif |
| | |
| | /* The state buf must be large enough to hold one state per character in the main buffer. |
| | */ |
| | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
| | |
#ifndef YY_TYPEDEF_YY_BUFFER_STATE | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE |
#define YY_TYPEDEF_YY_BUFFER_STATE | | #define YY_TYPEDEF_YY_BUFFER_STATE |
typedef struct yy_buffer_state *YY_BUFFER_STATE; | | typedef struct yy_buffer_state *YY_BUFFER_STATE; |
| | |
| | |
/* Points to current character in buffer. */ | | /* Points to current character in buffer. */ |
static char *yy_c_buf_p = (char *) 0; | | static char *yy_c_buf_p = (char *) 0; |
static int yy_init = 1; /* whether we need to initialize */ | | static int yy_init = 0; /* whether we need to initialize */ |
static int yy_start = 0; /* start state number */ | | static int yy_start = 0; /* start state number */ |
| | |
/* Flag which is used to allow rmapwrap()'s to do buffer switches | | /* Flag which is used to allow rmapwrap()'s to do buffer switches |
| | |
*yy_cp = '\0'; \ | | *yy_cp = '\0'; \ |
(yy_c_buf_p) = yy_cp; | | (yy_c_buf_p) = yy_cp; |
| | |
#define YY_NUM_RULES 32 | | #define YY_NUM_RULES 33 |
#define YY_END_OF_BUFFER 33 | | #define YY_END_OF_BUFFER 34 |
/* This struct is not used in this scanner, | | /* This struct is not used in this scanner, |
but its presence is necessary. */ | | but its presence is necessary. */ |
struct yy_trans_info | | struct yy_trans_info |
| | |
flex_int32_t yy_verify; | | flex_int32_t yy_verify; |
flex_int32_t yy_nxt; | | flex_int32_t yy_nxt; |
}; | | }; |
static yyconst flex_int16_t yy_accept[321] = | | static yyconst flex_int16_t yy_accept[328] = |
{ 0, | | { 0, |
31, 31, 0, 0, 33, 31, 29, 31, 31, 31, | | 32, 32, 0, 0, 34, 32, 30, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 32, 32, 31, 31, 30, 31, 29, 31, 31, | | 32, 33, 33, 32, 32, 31, 32, 30, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 0, 29, 31, 31, 31, 31, | | 32, 32, 32, 32, 0, 30, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
| | |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 8, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 8, |
8, 9, 9, 31, 31, 31, 31, 31, 31, 31, | | 8, 9, 9, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 31, 31, 10, 10, 31, 31, 31, | | 32, 32, 32, 32, 32, 32, 32, 10, 10, 32, |
| | |
31, 31, 31, 31, 23, 23, 24, 24, 31, 14, | | 32, 32, 32, 32, 32, 32, 24, 24, 25, 25, |
14, 31, 31, 31, 31, 31, 31, 31, 6, 6, | | 32, 14, 14, 32, 32, 32, 32, 32, 32, 32, |
31, 31, 31, 18, 18, 21, 21, 31, 31, 31, | | 6, 6, 32, 32, 32, 32, 18, 18, 22, 22, |
31, 31, 31, 31, 31, 31, 1, 1, 31, 7, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 1, |
7, 15, 15, 31, 31, 31, 31, 2, 2, 31, | | 1, 32, 7, 7, 15, 15, 32, 32, 32, 32, |
31, 31, 31, 25, 25, 31, 31, 31, 31, 31, | | 32, 2, 2, 32, 32, 32, 32, 26, 26, 32, |
31, 31, 31, 31, 5, 5, 31, 22, 22, 26, | | 32, 32, 32, 32, 32, 32, 32, 32, 32, 5, |
26, 31, 31, 17, 17, 31, 31, 31, 31, 31, | | 5, 32, 23, 23, 27, 27, 32, 32, 17, 17, |
31, 31, 3, 3, 31, 31, 31, 20, 20, 19, | | 32, 32, 32, 20, 20, 32, 32, 32, 32, 3, |
19, 31, 31, 31, 31, 31, 4, 4, 31, 31, | | 3, 32, 32, 32, 21, 21, 19, 19, 32, 32, |
| | |
11, 11, 12, 12, 13, 13, 31, 31, 31, 27, | | 32, 32, 32, 4, 4, 32, 32, 11, 11, 12, |
27, 31, 31, 31, 28, 28, 31, 16, 16, 0 | | 12, 13, 13, 32, 32, 32, 28, 28, 32, 32, |
| | 32, 29, 29, 32, 16, 16, 0 |
} ; | | } ; |
| | |
static yyconst flex_int32_t yy_ec[256] = | | static yyconst flex_int32_t yy_ec[256] = |
| | |
1, 1 | | 1, 1 |
} ; | | } ; |
| | |
static yyconst flex_int16_t yy_base[353] = | | static yyconst flex_int16_t yy_base[361] = |
{ 0, | | { 0, |
0, 7, 3, 4, 357, 0, 358, 353, 0, 1, | | 0, 7, 3, 4, 365, 0, 366, 361, 0, 1, |
325, 6, 343, 331, 328, 340, 319, 325, 337, 322, | | 333, 6, 351, 339, 336, 348, 327, 333, 345, 330, |
321, 358, 12, 0, 342, 358, 37, 0, 332, 328, | | 329, 366, 12, 0, 350, 366, 37, 0, 340, 336, |
320, 320, 12, 319, 317, 307, 316, 318, 314, 314, | | 328, 328, 12, 327, 325, 315, 324, 326, 322, 322, |
319, 313, 313, 312, 38, 358, 307, 313, 303, 310, | | 327, 321, 321, 320, 38, 366, 315, 321, 311, 318, |
299, 313, 312, 300, 299, 295, 30, 306, 298, 306, | | 307, 321, 320, 308, 307, 303, 30, 314, 306, 314, |
297, 283, 282, 289, 294, 286, 296, 24, 288, 289, | | 305, 291, 290, 297, 302, 294, 304, 24, 296, 297, |
283, 279, 279, 283, 285, 280, 287, 275, 274, 284, | | 291, 287, 287, 291, 293, 288, 295, 283, 282, 292, |
283, 23, 284, 269, 272, 271, 266, 278, 280, 264, | | 291, 23, 292, 277, 280, 279, 274, 286, 288, 272, |
262, 273, 260, 264, 264, 257, 255, 255, 278, 277, | | 270, 281, 268, 272, 272, 265, 263, 263, 286, 285, |
| | |
255, 251, 249, 244, 253, 252, 241, 264, 250, 243, | | 263, 259, 257, 252, 261, 260, 249, 272, 258, 251, |
25, 244, 256, 256, 255, 240, 239, 231, 259, 258, | | 25, 252, 264, 264, 263, 248, 247, 239, 267, 266, |
233, 227, 238, 237, 245, 244, 234, 222, 240, 219, | | 241, 235, 246, 245, 253, 252, 242, 230, 248, 227, |
226, 222, 222, 220, 21, 220, 213, 229, 223, 0, | | 234, 230, 230, 228, 21, 228, 221, 237, 231, 0, |
239, 0, 238, 221, 219, 211, 222, 40, 220, 220, | | 247, 0, 246, 229, 227, 219, 230, 40, 228, 228, |
231, 209, 212, 204, 198, 202, 209, 215, 223, 222, | | 239, 217, 220, 212, 206, 210, 217, 223, 231, 230, |
209, 220, 32, 207, 198, 205, 187, 215, 202, 201, | | 217, 228, 32, 215, 206, 213, 195, 223, 210, 209, |
196, 211, 210, 209, 196, 191, 189, 176, 184, 182, | | 211, 203, 218, 217, 216, 203, 198, 196, 183, 191, |
202, 201, 188, 199, 177, 173, 196, 176, 194, 53, | | 189, 209, 208, 195, 206, 184, 180, 203, 183, 201, |
193, 171, 165, 171, 189, 0, 188, 187, 186, 165, | | 53, 200, 178, 172, 179, 177, 195, 0, 194, 193, |
| | |
172, 166, 163, 181, 0, 180, 0, 179, 167, 0, | | 192, 171, 178, 172, 169, 187, 0, 186, 0, 185, |
177, 152, 146, 174, 150, 172, 171, 154, 0, 169, | | 173, 0, 183, 158, 152, 180, 156, 178, 177, 160, |
144, 155, 157, 0, 165, 0, 164, 163, 143, 161, | | 0, 175, 150, 161, 160, 162, 0, 170, 0, 169, |
148, 159, 158, 157, 140, 138, 0, 154, 153, 0, | | 168, 148, 166, 153, 164, 163, 162, 145, 143, 0, |
152, 0, 151, 131, 134, 131, 130, 0, 146, 122, | | 159, 158, 0, 157, 0, 156, 136, 139, 136, 152, |
144, 143, 142, 0, 141, 140, 119, 126, 137, 126, | | 134, 0, 150, 126, 148, 147, 146, 0, 145, 144, |
135, 134, 125, 54, 0, 132, 131, 0, 130, 0, | | 123, 130, 141, 130, 139, 138, 137, 128, 58, 0, |
129, 109, 127, 0, 126, 103, 124, 123, 104, 121, | | 135, 134, 0, 133, 0, 132, 112, 130, 0, 129, |
120, 119, 0, 118, 94, 116, 103, 0, 114, 0, | | 106, 127, 126, 0, 125, 106, 123, 122, 121, 0, |
113, 103, 111, 110, 109, 108, 0, 107, 97, 84, | | 120, 96, 118, 105, 0, 116, 0, 115, 105, 113, |
| | |
0, 104, 0, 103, 0, 102, 101, 77, 99, 0, | | 112, 111, 110, 0, 109, 99, 86, 0, 106, 0, |
98, 85, 96, 95, 0, 94, 93, 0, 92, 358, | | 105, 0, 104, 103, 79, 101, 0, 100, 87, 98, |
63, 65, 92, 67, 91, 90, 89, 88, 87, 86, | | 97, 0, 96, 95, 0, 94, 366, 66, 68, 94, |
85, 84, 83, 82, 81, 80, 79, 78, 77, 76, | | 70, 93, 92, 91, 90, 89, 88, 87, 86, 85, |
75, 74, 73, 72, 71, 70, 69, 57, 55, 17, | | 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, |
7, 0 | | 74, 73, 72, 61, 59, 57, 55, 17, 7, 0 |
} ; | | } ; |
| | |
static yyconst flex_int16_t yy_def[353] = | | static yyconst flex_int16_t yy_def[361] = |
{ 0, | | { 0, |
321, 321, 322, 322, 320, 323, 320, 324, 323, 323, | | 328, 328, 329, 329, 327, 330, 327, 331, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 320, 320, 323, 324, 320, 323, 323, 323, 323, | | 330, 327, 327, 330, 331, 327, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 320, 320, 323, 323, 323, 323, | | 330, 330, 330, 330, 327, 327, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
| | |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 325, 326, | | 330, 330, 330, 330, 330, 330, 330, 330, 332, 333, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 325, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 332, |
325, 326, 326, 323, 323, 323, 323, 323, 323, 323, | | 332, 333, 333, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 323, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 330, 330, 330, 330, 330, 330, 330, |
323, 323, 327, 323, 323, 323, 323, 323, 323, 323, | | 330, 330, 330, 334, 330, 330, 330, 330, 330, 330, |
328, 329, 323, 330, 323, 323, 323, 323, 323, 323, | | 330, 335, 336, 330, 337, 330, 330, 330, 330, 330, |
331, 323, 323, 323, 332, 327, 327, 333, 323, 323, | | 330, 338, 330, 330, 330, 330, 339, 334, 334, 340, |
| | |
323, 323, 323, 323, 328, 328, 329, 329, 323, 330, | | 330, 330, 330, 330, 330, 330, 335, 335, 336, 336, |
330, 323, 323, 334, 323, 335, 336, 323, 331, 331, | | 330, 337, 337, 330, 330, 341, 330, 342, 343, 330, |
323, 323, 323, 332, 332, 333, 333, 337, 323, 323, | | 338, 338, 330, 330, 330, 330, 339, 339, 340, 340, |
323, 323, 338, 323, 323, 323, 334, 334, 323, 335, | | 344, 330, 330, 330, 330, 345, 330, 330, 330, 341, |
335, 336, 336, 323, 323, 323, 323, 337, 337, 323, | | 341, 330, 342, 342, 343, 343, 330, 330, 330, 330, |
339, 323, 340, 338, 338, 341, 323, 323, 342, 323, | | 330, 344, 344, 330, 346, 330, 347, 345, 345, 348, |
323, 323, 323, 323, 339, 339, 343, 340, 340, 341, | | 330, 330, 349, 330, 330, 330, 350, 330, 330, 346, |
341, 323, 323, 342, 342, 323, 344, 345, 323, 323, | | 346, 351, 347, 347, 348, 348, 330, 330, 349, 349, |
323, 323, 343, 343, 323, 346, 323, 344, 344, 345, | | 330, 352, 353, 350, 350, 330, 330, 330, 330, 351, |
345, 323, 347, 348, 349, 323, 346, 346, 323, 323, | | 351, 330, 354, 330, 352, 352, 353, 353, 330, 355, |
| | |
347, 347, 348, 348, 349, 349, 350, 323, 323, 350, | | 356, 357, 330, 354, 354, 330, 330, 355, 355, 356, |
350, 323, 351, 323, 351, 351, 352, 352, 352, 0, | | 356, 357, 357, 358, 330, 330, 358, 358, 330, 359, |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320, | | 330, 359, 359, 360, 360, 360, 0, 327, 327, 327, |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320, | | 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320, | | 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, |
320, 320 | | 327, 327, 327, 327, 327, 327, 327, 327, 327, 327 |
} ; | | } ; |
| | |
static yyconst flex_int16_t yy_nxt[391] = | | static yyconst flex_int16_t yy_nxt[399] = |
{ 0, | | { 0, |
318, 27, 7, 8, 28, 7, 7, 315, 9, 7, | | 325, 27, 7, 8, 28, 7, 7, 322, 9, 7, |
8, 23, 23, 45, 29, 9, 46, 310, 30, 10, | | 8, 23, 23, 45, 29, 9, 46, 317, 30, 10, |
11, 12, 31, 34, 35, 13, 14, 32, 15, 51, | | 11, 12, 31, 34, 35, 13, 14, 32, 15, 51, |
16, 17, 18, 86, 52, 19, 20, 21, 27, 45, | | 16, 17, 18, 86, 52, 19, 20, 21, 27, 45, |
158, 28, 46, 74, 101, 75, 131, 102, 87, 132, | | 158, 28, 46, 74, 101, 75, 131, 102, 87, 132, |
159, 160, 169, 185, 217, 305, 186, 303, 170, 280, | | 159, 160, 169, 186, 219, 312, 187, 310, 170, 308, |
281, 282, 218, 6, 6, 22, 22, 25, 25, 301, | | 171, 304, 220, 287, 288, 289, 6, 6, 22, 22, |
297, 290, 288, 283, 274, 270, 268, 265, 254, 248, | | 25, 25, 297, 295, 290, 284, 279, 275, 273, 270, |
242, 240, 237, 226, 224, 219, 210, 207, 205, 196, | | 258, 252, 245, 243, 240, 229, 227, 221, 212, 209, |
142, 140, 24, 319, 319, 316, 317, 316, 314, 311, | | 207, 198, 142, 140, 24, 326, 326, 323, 324, 323, |
| | |
313, 312, 311, 306, 304, 302, 309, 308, 298, 307, | | 321, 318, 320, 319, 318, 313, 311, 309, 316, 315, |
306, 304, 302, 300, 291, 289, 299, 298, 296, 284, | | 305, 314, 313, 311, 309, 307, 298, 296, 306, 305, |
295, 294, 293, 292, 291, 289, 287, 275, 286, 285, | | 303, 291, 302, 301, 300, 299, 285, 298, 296, 294, |
271, 269, 284, 266, 279, 278, 277, 276, 275, 273, | | 280, 293, 292, 276, 274, 291, 271, 286, 285, 283, |
272, 271, 255, 269, 267, 266, 264, 249, 263, 262, | | 282, 281, 280, 278, 277, 276, 259, 274, 272, 271, |
261, 260, 243, 241, 259, 238, 258, 257, 256, 255, | | 269, 253, 268, 267, 266, 265, 264, 246, 244, 263, |
253, 252, 251, 250, 249, 227, 225, 247, 246, 245, | | 241, 262, 261, 260, 259, 257, 256, 255, 254, 253, |
220, 244, 243, 241, 239, 238, 236, 235, 211, 234, | | 230, 228, 251, 250, 249, 248, 222, 247, 246, 244, |
208, 206, 233, 232, 231, 230, 229, 228, 227, 197, | | 242, 241, 239, 238, 213, 237, 210, 208, 236, 235, |
225, 223, 222, 221, 220, 216, 215, 214, 213, 212, | | 234, 233, 232, 231, 230, 199, 228, 226, 225, 224, |
| | |
211, 209, 208, 206, 204, 203, 202, 201, 200, 199, | | 223, 222, 218, 217, 216, 215, 214, 213, 211, 210, |
198, 197, 195, 194, 193, 192, 191, 190, 189, 188, | | 208, 206, 205, 204, 203, 202, 201, 200, 199, 197, |
187, 184, 183, 182, 181, 180, 179, 178, 177, 176, | | 196, 195, 194, 193, 192, 191, 190, 189, 188, 185, |
175, 174, 173, 172, 171, 168, 167, 166, 165, 143, | | 184, 183, 182, 181, 180, 179, 178, 177, 176, 175, |
141, 164, 163, 162, 161, 157, 156, 155, 154, 153, | | 174, 173, 172, 168, 167, 166, 165, 143, 141, 164, |
152, 151, 150, 149, 148, 147, 146, 145, 144, 143, | | 163, 162, 161, 157, 156, 155, 154, 153, 152, 151, |
141, 139, 138, 137, 136, 135, 134, 133, 130, 129, | | 150, 149, 148, 147, 146, 145, 144, 143, 141, 139, |
128, 127, 126, 125, 124, 123, 122, 121, 120, 119, | | 138, 137, 136, 135, 134, 133, 130, 129, 128, 127, |
118, 117, 116, 115, 114, 113, 112, 111, 110, 109, | | 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, |
108, 107, 106, 105, 104, 103, 100, 99, 98, 97, | | 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, |
| | |
96, 95, 94, 93, 92, 91, 90, 89, 88, 85, | | 106, 105, 104, 103, 100, 99, 98, 97, 96, 95, |
84, 83, 82, 81, 80, 79, 78, 77, 76, 73, | | 94, 93, 92, 91, 90, 89, 88, 85, 84, 83, |
72, 71, 70, 69, 68, 67, 66, 65, 64, 63, | | 82, 81, 80, 79, 78, 77, 76, 73, 72, 71, |
62, 61, 60, 59, 58, 57, 56, 55, 54, 53, | | 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, |
50, 49, 48, 47, 26, 44, 43, 42, 41, 40, | | 60, 59, 58, 57, 56, 55, 54, 53, 50, 49, |
39, 38, 37, 36, 33, 26, 320, 5, 320, 320, | | 48, 47, 26, 44, 43, 42, 41, 40, 39, 38, |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320, | | 37, 36, 33, 26, 327, 5, 327, 327, 327, 327, |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320, | | 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320 | | 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, |
| | 327, 327, 327, 327, 327, 327, 327, 327 |
| | |
} ; | | } ; |
| | |
static yyconst flex_int16_t yy_chk[391] = | | static yyconst flex_int16_t yy_chk[399] = |
{ 0, | | { 0, |
352, 9, 1, 1, 9, 3, 4, 351, 1, 2, | | 360, 9, 1, 1, 9, 3, 4, 359, 1, 2, |
2, 3, 4, 23, 10, 2, 23, 350, 10, 2, | | 2, 3, 4, 23, 10, 2, 23, 358, 10, 2, |
2, 2, 10, 12, 12, 2, 2, 10, 2, 33, | | 2, 2, 10, 12, 12, 2, 2, 10, 2, 33, |
2, 2, 2, 68, 33, 2, 2, 2, 27, 45, | | 2, 2, 2, 68, 33, 2, 2, 2, 27, 45, |
135, 27, 45, 57, 82, 57, 111, 82, 68, 111, | | 135, 27, 45, 57, 82, 57, 111, 82, 68, 111, |
135, 135, 148, 163, 190, 349, 163, 348, 148, 264, | | 135, 135, 148, 163, 191, 357, 163, 356, 148, 355, |
264, 264, 190, 321, 321, 322, 322, 324, 324, 347, | | 148, 354, 191, 269, 269, 269, 328, 328, 329, 329, |
346, 345, 344, 343, 342, 341, 340, 339, 338, 337, | | 331, 331, 353, 352, 351, 350, 349, 348, 347, 346, |
336, 335, 334, 333, 332, 331, 330, 329, 328, 327, | | 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, |
326, 325, 323, 319, 317, 316, 314, 313, 312, 311, | | 335, 334, 333, 332, 330, 326, 324, 323, 321, 320, |
| | |
309, 308, 307, 306, 304, 302, 300, 299, 298, 296, | | 319, 318, 316, 315, 314, 313, 311, 309, 307, 306, |
295, 294, 293, 292, 291, 289, 287, 286, 285, 284, | | 305, 303, 302, 301, 300, 299, 298, 296, 294, 293, |
282, 281, 280, 279, 278, 277, 276, 275, 273, 272, | | 292, 291, 289, 288, 287, 286, 285, 283, 282, 281, |
271, 269, 267, 266, 263, 262, 261, 260, 259, 258, | | 280, 278, 277, 276, 274, 272, 271, 268, 267, 266, |
257, 256, 255, 253, 252, 251, 250, 249, 247, 246, | | 265, 264, 263, 262, 261, 260, 259, 257, 256, 255, |
245, 244, 243, 241, 239, 238, 236, 235, 234, 233, | | 254, 253, 251, 250, 249, 248, 247, 246, 244, 242, |
232, 231, 230, 229, 228, 227, 225, 223, 222, 221, | | 241, 239, 238, 237, 236, 235, 234, 233, 232, 231, |
220, 218, 217, 216, 215, 214, 213, 212, 211, 209, | | 230, 228, 226, 225, 224, 223, 222, 220, 219, 218, |
208, 206, 204, 203, 202, 201, 200, 199, 198, 197, | | 217, 216, 215, 214, 213, 211, 210, 208, 206, 205, |
195, 194, 193, 192, 191, 189, 188, 187, 186, 185, | | 204, 203, 202, 201, 200, 199, 197, 196, 195, 194, |
| | |
| | 193, 192, 190, 189, 188, 187, 186, 185, 184, 183, |
| | 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, |
| | 172, 171, 170, 169, 168, 167, 166, 165, 164, 162, |
| | 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, |
| | 151, 150, 149, 147, 146, 145, 144, 143, 141, 139, |
| | 138, 137, 136, 134, 133, 132, 131, 130, 129, 128, |
| | 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, |
| | 117, 116, 115, 114, 113, 112, 110, 109, 108, 107, |
| | 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, |
| | 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, |
| | |
| | 86, 85, 84, 83, 81, 80, 79, 78, 77, 76, |
| | 75, 74, 73, 72, 71, 70, 69, 67, 66, 65, |
| | 64, 63, 62, 61, 60, 59, 58, 56, 55, 54, |
| | 53, 52, 51, 50, 49, 48, 47, 44, 43, 42, |
| | 41, 40, 39, 38, 37, 36, 35, 34, 32, 31, |
| | 30, 29, 25, 21, 20, 19, 18, 17, 16, 15, |
| | 14, 13, 11, 8, 5, 327, 327, 327, 327, 327, |
| | 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, |
| | 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, |
| | 327, 327, 327, 327, 327, 327, 327, 327 |
| | |
184, 183, 182, 181, 180, 179, 178, 177, 176, 175, | | |
174, 173, 172, 171, 170, 169, 168, 167, 166, 165, | | |
164, 162, 161, 160, 159, 158, 157, 156, 155, 154, | | |
153, 152, 151, 150, 149, 147, 146, 145, 144, 143, | | |
141, 139, 138, 137, 136, 134, 133, 132, 131, 130, | | |
129, 128, 127, 126, 125, 124, 123, 122, 121, 120, | | |
119, 118, 117, 116, 115, 114, 113, 112, 110, 109, | | |
108, 107, 106, 105, 104, 103, 102, 101, 100, 99, | | |
98, 97, 96, 95, 94, 93, 92, 91, 90, 89, | | |
88, 87, 86, 85, 84, 83, 81, 80, 79, 78, | | |
| | |
77, 76, 75, 74, 73, 72, 71, 70, 69, 67, | | |
66, 65, 64, 63, 62, 61, 60, 59, 58, 56, | | |
55, 54, 53, 52, 51, 50, 49, 48, 47, 44, | | |
43, 42, 41, 40, 39, 38, 37, 36, 35, 34, | | |
32, 31, 30, 29, 25, 21, 20, 19, 18, 17, | | |
16, 15, 14, 13, 11, 8, 5, 320, 320, 320, | | |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320, | | |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320, | | |
320, 320, 320, 320, 320, 320, 320, 320, 320, 320 | | |
} ; | | } ; |
| | |
static yy_state_type yy_last_accepting_state; | | static yy_state_type yy_last_accepting_state; |
| | |
#line 2 "reader.l" | | #line 2 "reader.l" |
/* | | /* |
* static char *reader_l = | | * static char *reader_l = |
* "$Id: reader.c,v 1.12 2006/05/21 19:38:26 akirschbaum Exp $"; | | * "$Id: reader.c,v 1.13 2006/06/03 21:56:28 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
/* Don't have to link with -lfl with this */ | | /* Don't have to link with -lfl with this */ |
/* need yy_push_state, yy_pop_state */ | | /* need yy_push_state, yy_pop_state */ |
#line 689 "reader.c" | | #line 706 "reader.c" |
| | |
#define INITIAL 0 | | #define INITIAL 0 |
#define MESSAGE 1 | | #define MESSAGE 1 |
| | |
#define YY_EXTRA_TYPE void * | | #define YY_EXTRA_TYPE void * |
#endif | | #endif |
| | |
| | static int yy_init_globals (void ); |
| | |
/* Macros after this point can all be overridden by user definitions in | | /* Macros after this point can all be overridden by user definitions in |
* section 1. | | * section 1. |
*/ | | */ |
| | |
| | |
static int yy_start_stack_ptr = 0; | | static int yy_start_stack_ptr = 0; |
static int yy_start_stack_depth = 0; | | static int yy_start_stack_depth = 0; |
static int *yy_start_stack = 0; | | static int *yy_start_stack = NULL; |
| | |
static void yy_push_state (int new_state ); | | static void yy_push_state (int new_state ); |
| | |
| | |
| | |
| | |
| | |
#line 867 "reader.c" | | #line 886 "reader.c" |
| | |
if ( (yy_init) ) | | if ( !(yy_init) ) |
{ | | { |
(yy_init) = 0; | | (yy_init) = 1; |
| | |
#ifdef YY_USER_INIT | | #ifdef YY_USER_INIT |
YY_USER_INIT; | | YY_USER_INIT; |
| | |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | | { |
yy_current_state = (int) yy_def[yy_current_state]; | | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 321 ) | | if ( yy_current_state >= 328 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | | yy_c = yy_meta[(unsigned int) yy_c]; |
} | | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
++yy_cp; | | ++yy_cp; |
} | | } |
while ( yy_base[yy_current_state] != 358 ); | | while ( yy_base[yy_current_state] != 366 ); |
| | |
yy_find_action: | | yy_find_action: |
yy_act = yy_accept[yy_current_state]; | | yy_act = yy_accept[yy_current_state]; |
| | |
case 1: | | case 1: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 75 "reader.l" | | #line 75 "reader.l" |
strcpy(RP->wallstyle,rmap_yval()); | | strncpy(RP->wallstyle,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 2: | | case 2: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 76 "reader.l" | | #line 76 "reader.l" |
strcpy(RP->floorstyle,rmap_yval()); | | strncpy(RP->floorstyle,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 3: | | case 3: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 77 "reader.l" | | #line 77 "reader.l" |
strcpy(RP->monsterstyle,rmap_yval()); | | strncpy(RP->monsterstyle,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 4: | | case 4: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 78 "reader.l" | | #line 78 "reader.l" |
strcpy(RP->treasurestyle,rmap_yval()); | | strncpy(RP->treasurestyle,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 5: | | case 5: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 79 "reader.l" | | #line 79 "reader.l" |
strcpy(RP->layoutstyle,rmap_yval()); | | strncpy(RP->layoutstyle,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 6: | | case 6: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 80 "reader.l" | | #line 80 "reader.l" |
strcpy(RP->doorstyle,rmap_yval()); | | strncpy(RP->doorstyle,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 7: | | case 7: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 81 "reader.l" | | #line 81 "reader.l" |
strcpy(RP->decorstyle,rmap_yval()); | | strncpy(RP->decorstyle,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 8: | | case 8: |
YY_RULE_SETUP | | YY_RULE_SETUP |
| | |
case 18: | | case 18: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 92 "reader.l" | | #line 92 "reader.l" |
strcpy(RP->exitstyle,rmap_yval()); | | strncpy(RP->exitstyle,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 19: | | case 19: |
YY_RULE_SETUP | | YY_RULE_SETUP |
| | |
case 20: | | case 20: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 94 "reader.l" | | #line 94 "reader.l" |
RP->dungeon_depth = IVAL; | | strncpy(RP->dungeon_name, rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 21: | | case 21: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 95 "reader.l" | | #line 95 "reader.l" |
strcpy(RP->final_map,rmap_yval()); | | RP->dungeon_depth = IVAL; |
YY_BREAK | | YY_BREAK |
case 22: | | case 22: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 96 "reader.l" | | #line 96 "reader.l" |
RP-> orientation = IVAL; | | strncpy(RP->final_map,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 23: | | case 23: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 97 "reader.l" | | #line 97 "reader.l" |
RP->origin_x = IVAL; | | RP-> orientation = IVAL; |
YY_BREAK | | YY_BREAK |
case 24: | | case 24: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 98 "reader.l" | | #line 98 "reader.l" |
RP-> origin_y = IVAL; | | RP->origin_x = IVAL; |
YY_BREAK | | YY_BREAK |
case 25: | | case 25: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 99 "reader.l" | | #line 99 "reader.l" |
strcpy(RP->origin_map,rmap_yval()); | | RP-> origin_y = IVAL; |
YY_BREAK | | YY_BREAK |
case 26: | | case 26: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 100 "reader.l" | | #line 100 "reader.l" |
RP->random_seed = IVAL; | | strncpy(RP->origin_map,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 27: | | case 27: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 101 "reader.l" | | #line 101 "reader.l" |
RP->treasureoptions = IVAL; | | RP->random_seed = IVAL; |
YY_BREAK | | YY_BREAK |
case 28: | | case 28: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 102 "reader.l" | | #line 102 "reader.l" |
strcpy(RP->exit_on_final_map,rmap_yval()); | | RP->treasureoptions = IVAL; |
YY_BREAK | | YY_BREAK |
case 29: | | case 29: |
/* rule 29 can match eol */ | | |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 104 "reader.l" | | #line 103 "reader.l" |
{/* ignore empty lines, newlines we don't do above */} | | strncpy(RP->exit_on_final_map,rmap_yval(),RM_SIZE); |
YY_BREAK | | YY_BREAK |
case 30: | | case 30: |
/* rule 30 can match eol */ | | /* rule 30 can match eol */ |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 105 "reader.l" | | #line 105 "reader.l" |
| | {/* ignore empty lines, newlines we don't do above */} |
| | YY_BREAK |
| | case 31: |
| | /* rule 31 can match eol */ |
| | YY_RULE_SETUP |
| | #line 106 "reader.l" |
{} | | {} |
YY_BREAK | | YY_BREAK |
case YY_STATE_EOF(INITIAL): | | case YY_STATE_EOF(INITIAL): |
case YY_STATE_EOF(MESSAGE): | | case YY_STATE_EOF(MESSAGE): |
#line 107 "reader.l" | | #line 108 "reader.l" |
{/* If we got an error, return the error. Otherwise, return that we got EOF */ | | {/* If we got an error, return the error. Otherwise, return that we got EOF */ |
if (rmap_lex_error!=0) return rmap_lex_error; else return LL_EOF;} | | if (rmap_lex_error!=0) return rmap_lex_error; else return LL_EOF;} |
YY_BREAK | | YY_BREAK |
case 31: | | case 32: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 109 "reader.l" | | #line 110 "reader.l" |
{ yyerror( "Unrecognized string"); rmap_lex_error= -1; } | | { yyerror( "Unrecognized string"); rmap_lex_error= -1; } |
YY_BREAK | | YY_BREAK |
case 32: | | case 33: |
YY_RULE_SETUP | | YY_RULE_SETUP |
#line 110 "reader.l" | | #line 111 "reader.l" |
ECHO; | | ECHO; |
YY_BREAK | | YY_BREAK |
#line 1119 "reader.c" | | #line 1143 "reader.c" |
| | |
case YY_END_OF_BUFFER: | | case YY_END_OF_BUFFER: |
{ | | { |
| | |
| | |
else | | else |
{ | | { |
size_t num_to_read = | | int num_to_read = |
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; |
| | |
while ( num_to_read <= 0 ) | | while ( num_to_read <= 0 ) |
| | |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | | { |
yy_current_state = (int) yy_def[yy_current_state]; | | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 321 ) | | if ( yy_current_state >= 328 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | | yy_c = yy_meta[(unsigned int) yy_c]; |
} | | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
| | |
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
{ | | { |
yy_current_state = (int) yy_def[yy_current_state]; | | yy_current_state = (int) yy_def[yy_current_state]; |
if ( yy_current_state >= 321 ) | | if ( yy_current_state >= 328 ) |
yy_c = yy_meta[(unsigned int) yy_c]; | | yy_c = yy_meta[(unsigned int) yy_c]; |
} | | } |
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
yy_is_jam = (yy_current_state == 320); | | yy_is_jam = (yy_current_state == 327); |
| | |
return yy_is_jam ? 0 : yy_current_state; | | return yy_is_jam ? 0 : yy_current_state; |
} | | } |
| | |
rmapfree((void *) b ); | | rmapfree((void *) b ); |
} | | } |
| | |
#ifndef __cplusplus | | #ifndef _UNISTD_H /* assume unistd.h has isatty() for us */ |
| | #ifdef __cplusplus |
| | extern "C" { |
| | #endif |
| | #ifdef __THROW /* this is a gnuism */ |
| | extern int isatty (int ) __THROW; |
| | #else |
extern int isatty (int ); | | extern int isatty (int ); |
#endif /* __cplusplus */ | | #endif |
| | #ifdef __cplusplus |
| | } |
| | #endif |
| | #endif |
| | |
/* Initializes or reinitializes a buffer. | | /* Initializes or reinitializes a buffer. |
* This function is sometimes called more than once on the same buffer, | | * This function is sometimes called more than once on the same buffer, |
| | |
* @note If you want to scan bytes that may contain NUL values, then use | | * @note If you want to scan bytes that may contain NUL values, then use |
* rmap_scan_bytes() instead. | | * rmap_scan_bytes() instead. |
*/ | | */ |
YY_BUFFER_STATE rmap_scan_string (yyconst char * yy_str ) | | YY_BUFFER_STATE rmap_scan_string (yyconst char * __yystr ) |
{ | | { |
| | |
return rmap_scan_bytes(yy_str,strlen(yy_str) ); | | return rmap_scan_bytes(__yystr,strlen(__yystr) ); |
} | | } |
| | |
/** Setup the input buffer state to scan the given bytes. The next call to rmaplex() will | | /** Setup the input buffer state to scan the given bytes. The next call to rmaplex() will |
| | |
* | | * |
* @return the newly allocated buffer state object. | | * @return the newly allocated buffer state object. |
*/ | | */ |
YY_BUFFER_STATE rmap_scan_bytes (yyconst char * bytes, int len ) | | YY_BUFFER_STATE rmap_scan_bytes (yyconst char * yybytes, int _yybytes_len ) |
{ | | { |
YY_BUFFER_STATE b; | | YY_BUFFER_STATE b; |
char *buf; | | char *buf; |
| | |
int i; | | int i; |
| | |
/* Get memory for full buffer, including space for trailing EOB's. */ | | /* Get memory for full buffer, including space for trailing EOB's. */ |
n = len + 2; | | n = _yybytes_len + 2; |
buf = (char *) rmapalloc(n ); | | buf = (char *) rmapalloc(n ); |
if ( ! buf ) | | if ( ! buf ) |
YY_FATAL_ERROR( "out of dynamic memory in rmap_scan_bytes()" ); | | YY_FATAL_ERROR( "out of dynamic memory in rmap_scan_bytes()" ); |
| | |
for ( i = 0; i < len; ++i ) | | for ( i = 0; i < _yybytes_len; ++i ) |
buf[i] = bytes[i]; | | buf[i] = yybytes[i]; |
| | |
buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; |
| | |
b = rmap_scan_buffer(buf,n ); | | b = rmap_scan_buffer(buf,n ); |
if ( ! b ) | | if ( ! b ) |
| | |
rmap_flex_debug = bdebug ; | | rmap_flex_debug = bdebug ; |
} | | } |
| | |
| | static int yy_init_globals (void) |
| | { |
| | /* Initialization is the same as for the non-reentrant scanner. |
| | * This function is called from rmaplex_destroy(), so don't allocate here. |
| | */ |
| | |
| | (yy_buffer_stack) = 0; |
| | (yy_buffer_stack_top) = 0; |
| | (yy_buffer_stack_max) = 0; |
| | (yy_c_buf_p) = (char *) 0; |
| | (yy_init) = 0; |
| | (yy_start) = 0; |
| | |
| | (yy_start_stack_ptr) = 0; |
| | (yy_start_stack_depth) = 0; |
| | (yy_start_stack) = NULL; |
| | |
| | /* Defined in main.c */ |
| | #ifdef YY_STDINIT |
| | rmapin = stdin; |
| | rmapout = stdout; |
| | #else |
| | rmapin = (FILE *) 0; |
| | rmapout = (FILE *) 0; |
| | #endif |
| | |
| | /* For future reference: Set errno on error, since we are called by |
| | * rmaplex_init() |
| | */ |
| | return 0; |
| | } |
| | |
/* rmaplex_destroy is for both reentrant and non-reentrant scanners. */ | | /* rmaplex_destroy is for both reentrant and non-reentrant scanners. */ |
int rmaplex_destroy (void) | | int rmaplex_destroy (void) |
{ | | { |
| | |
rmapfree((yy_start_stack) ); | | rmapfree((yy_start_stack) ); |
(yy_start_stack) = NULL; | | (yy_start_stack) = NULL; |
| | |
| | /* Reset the globals. This is important in a non-reentrant scanner so the next time |
| | * rmaplex() is called, initialization will occur. */ |
| | yy_init_globals( ); |
| | |
return 0; | | return 0; |
} | | } |
| | |
| | |
| | |
#define YYTABLES_NAME "yytables" | | #define YYTABLES_NAME "yytables" |
| | |
#undef YY_NEW_FILE | | #line 111 "reader.l" |
#undef YY_FLUSH_BUFFER | | |
#undef yy_set_bol | | |
#undef yy_new_buffer | | |
#undef yy_set_interactive | | |
#undef yytext_ptr | | |
#undef YY_DO_BEFORE_ACTION | | |
| | |
#ifdef YY_DECL_IS_OURS | | |
#undef YY_DECL_IS_OURS | | |
#undef YY_DECL | | |
#endif | | |
#line 110 "reader.l" | | |
| | |
| | |
| | |