10 #define YY_INT_ALIGNED short int 15 #define YY_FLEX_MAJOR_VERSION 2 16 #define YY_FLEX_MINOR_VERSION 6 17 #define YY_FLEX_SUBMINOR_VERSION 4 18 #if YY_FLEX_SUBMINOR_VERSION > 0 39 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 44 #ifndef __STDC_LIMIT_MACROS 45 #define __STDC_LIMIT_MACROS 1 65 #define INT8_MIN (-128) 68 #define INT16_MIN (-32767 - 1) 71 #define INT32_MIN (-2147483647 - 1) 74 #define INT8_MAX (127) 77 #define INT16_MAX (32767) 80 #define INT32_MAX (2147483647) 83 #define UINT8_MAX (255U) 86 #define UINT16_MAX (65535U) 89 #define UINT32_MAX (4294967295U) 93 #define SIZE_MAX (~(size_t)0) 103 #define yyconst const 105 #if defined(__GNUC__) && __GNUC__ >= 3 106 #define yynoreturn __attribute__((__noreturn__)) 117 #define YY_SC_TO_UI(c) ((YY_CHAR)(c)) 123 #define BEGIN (yy_start) = 1 + 2 * 128 #define YY_START (((yy_start)-1) / 2) 129 #define YYSTATE YY_START 131 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 133 #define YY_NEW_FILE yyrestart(yyin) 134 #define YY_END_OF_BUFFER_CHAR 0 143 #define YY_BUF_SIZE 32768 145 #define YY_BUF_SIZE 16384 151 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) 153 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 154 #define YY_TYPEDEF_YY_BUFFER_STATE 158 #ifndef YY_TYPEDEF_YY_SIZE_T 159 #define YY_TYPEDEF_YY_SIZE_T 167 #define EOB_ACT_CONTINUE_SCAN 0 168 #define EOB_ACT_END_OF_FILE 1 169 #define EOB_ACT_LAST_MATCH 2 171 #define YY_LESS_LINENO(n) 172 #define YY_LINENO_REWIND_TO(ptr) 179 int yyless_macro_arg = (n); \ 180 YY_LESS_LINENO(yyless_macro_arg); \ 181 *yy_cp = (yy_hold_char); \ 182 YY_RESTORE_YY_MORE_OFFSET(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 183 YY_DO_BEFORE_ACTION; \ 185 #define unput(c) yyunput(c, (yytext_ptr)) 187 #ifndef YY_STRUCT_YY_BUFFER_STATE 188 #define YY_STRUCT_YY_BUFFER_STATE 235 #define YY_BUFFER_NEW 0 236 #define YY_BUFFER_NORMAL 1 247 #define YY_BUFFER_EOF_PENDING 2 262 #define YY_CURRENT_BUFFER ((yy_buffer_stack) \ 263 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ 268 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 296 #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER) 306 #define yy_new_buffer yy_create_buffer 307 #define yy_set_interactive(is_interactive) \ 309 if (!YY_CURRENT_BUFFER) \ 311 yyensure_buffer_stack(); \ 312 YY_CURRENT_BUFFER_LVALUE = \ 313 yy_create_buffer(yyin, YY_BUF_SIZE); \ 315 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 317 #define yy_set_bol(at_bol) \ 319 if (!YY_CURRENT_BUFFER) \ 321 yyensure_buffer_stack(); \ 322 YY_CURRENT_BUFFER_LVALUE = \ 323 yy_create_buffer(yyin, YY_BUF_SIZE); \ 325 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 327 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 342 #define yytext_ptr yytext 352 #define YY_DO_BEFORE_ACTION \ 353 (yytext_ptr) = yy_bp; \ 354 yyleng = (int)(yy_cp - yy_bp); \ 355 (yy_hold_char) = *yy_cp; \ 357 (yy_c_buf_p) = yy_cp; 358 #define YY_NUM_RULES 27 359 #define YY_END_OF_BUFFER 28 369 0, 0, 28, 26, 23, 24, 26, 26, 26, 26,
370 5, 6, 4, 10, 25, 16, 18, 14, 22, 15,
371 19, 17, 21, 20, 23, 3, 2, 16, 18, 14,
372 22, 15, 19, 17, 21, 20, 1, 5, 0, 6,
373 25, 25, 25, 25, 8, 9, 0, 0, 0, 7,
374 12, 25, 13, 12, 0, 13, 11, 11, 0};
378 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
379 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
380 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
381 1, 2, 1, 1, 1, 1, 4, 1, 1, 1,
382 1, 5, 1, 1, 6, 1, 7, 8, 9, 9,
383 9, 9, 9, 9, 9, 10, 10, 11, 1, 1,
384 12, 1, 1, 1, 13, 13, 13, 13, 13, 13,
385 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
386 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
387 1, 1, 1, 1, 14, 1, 13, 13, 15, 13,
389 13, 13, 16, 14, 17, 14, 14, 14, 14, 18,
390 19, 20, 21, 22, 23, 24, 14, 14, 25, 26,
391 14, 14, 1, 1, 1, 1, 1, 1, 1, 1,
392 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
393 1, 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, 1, 1, 1, 1, 1, 1, 1, 1,
398 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
400 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
401 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
402 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
403 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
404 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
409 1, 1, 1, 1, 1, 1, 1, 2, 2, 2,
410 1, 1, 2, 3, 2, 3, 3, 3, 3, 3,
415 0, 0, 71, 72, 68, 72, 65, 61, 12, 62,
416 30, 32, 72, 72, 0, 43, 0, 25, 0, 47,
417 0, 0, 0, 0, 62, 72, 72, 40, 72, 27,
418 72, 72, 72, 72, 72, 72, 72, 42, 0, 44,
419 0, 40, 37, 39, 0, 0, 37, 31, 25, 0,
420 0, 22, 0, 72, 14, 72, 0, 72, 72, 55,
425 59, 1, 59, 59, 59, 59, 59, 59, 59, 59,
426 59, 59, 59, 59, 60, 60, 60, 60, 60, 60,
427 60, 60, 60, 60, 59, 59, 59, 59, 59, 59,
428 59, 59, 59, 59, 59, 59, 59, 59, 61, 59,
429 60, 60, 60, 60, 60, 60, 59, 59, 59, 61,
430 60, 60, 60, 59, 59, 59, 60, 59, 0, 59,
435 4, 5, 6, 7, 8, 9, 10, 11, 12, 12,
436 13, 14, 15, 15, 16, 17, 18, 19, 20, 21,
437 15, 22, 23, 15, 24, 15, 28, 29, 30, 31,
438 32, 33, 50, 34, 35, 58, 36, 38, 38, 40,
439 40, 40, 43, 57, 48, 56, 44, 45, 49, 38,
440 38, 40, 40, 40, 55, 39, 41, 41, 54, 53,
441 52, 51, 47, 25, 46, 42, 37, 27, 26, 25,
442 59, 3, 59, 59, 59, 59, 59, 59, 59, 59,
443 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
444 59, 59, 59, 59, 59, 59, 59, 59
450 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
451 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
452 1, 1, 1, 1, 1, 1, 9, 9, 9, 9,
453 9, 9, 61, 9, 9, 55, 9, 11, 11, 12,
454 12, 12, 18, 52, 30, 49, 18, 18, 30, 38,
455 38, 40, 40, 40, 48, 11, 60, 60, 47, 44,
456 43, 42, 28, 25, 20, 16, 10, 8, 7, 5,
457 3, 59, 59, 59, 59, 59, 59, 59, 59, 59,
458 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
459 59, 59, 59, 59, 59, 59, 59, 59
472 #define REJECT reject_used_but_not_detected 473 #define yymore() yymore_used_but_not_detected 474 #define YY_MORE_ADJ 0 475 #define YY_RESTORE_YY_MORE_OFFSET 487 #ifndef YY_NO_UNISTD_H 495 #ifndef YY_EXTRA_TYPE 496 #define YY_EXTRA_TYPE void * 534 #ifndef YY_SKIP_YYWRAP 536 extern "C" int yywrap(
void);
544 static void yyunput(
int c,
char *buf_ptr);
549 static void yy_flex_strncpy(
char *,
const char *,
int);
552 #ifdef YY_NEED_STRLEN 553 static int yy_flex_strlen(
const char *);
558 static int yyinput(
void);
560 static int input(
void);
566 #ifndef YY_READ_BUF_SIZE 569 #define YY_READ_BUF_SIZE 16384 571 #define YY_READ_BUF_SIZE 8192 583 if (fwrite(yytext, (size_t)yyleng, 1, yyout)) \ 593 #define YY_INPUT(buf, result, max_size) \ 594 if (YY_CURRENT_BUFFER_LVALUE->yy_is_interactive) \ 598 for (n = 0; n < max_size && \ 599 (c = getc(yyin)) != EOF && c != '\n'; \ 603 buf[n++] = (char)c; \ 604 if (c == EOF && ferror(yyin)) \ 605 YY_FATAL_ERROR("input in flex scanner failed"); \ 611 while ((result = (int)fread(buf, 1, (yy_size_t)max_size, yyin)) == 0 && ferror(yyin)) \ 613 if (errno != EINTR) \ 615 YY_FATAL_ERROR("input in flex scanner failed"); \ 630 #define yyterminate() return YY_NULL 634 #ifndef YY_START_STACK_INCR 635 #define YY_START_STACK_INCR 25 639 #ifndef YY_FATAL_ERROR 640 #define YY_FATAL_ERROR(msg) yy_fatal_error(msg) 649 #define YY_DECL_IS_OURS 1 651 extern int yylex(
void);
653 #define YY_DECL int yylex(void) 659 #ifndef YY_USER_ACTION 660 #define YY_USER_ACTION 665 #define YY_BREAK break; 668 #define YY_RULE_SETUP \ 733 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state)
735 yy_current_state = (int)
yy_def[yy_current_state];
736 if (yy_current_state >= 60)
741 }
while (
yy_base[yy_current_state] != 72);
984 int yy_amount_of_matched_text = (int)(yy_cp - (
yytext_ptr)) - 1;
1038 yy_current_state = yy_next_state;
1045 goto yy_find_action;
1099 goto yy_find_action;
1106 "fatal flex scanner internal error--no action found");
1123 int number_to_move, i;
1128 "fatal flex scanner internal error--end of buffer missed");
1154 for (i = 0; i < number_to_move; ++i)
1155 *(dest++) = *(source++);
1168 while (num_to_read <= 0)
1174 int yy_c_buf_p_offset =
1197 "fatal error - scanner input buffer overflow");
1272 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state)
1274 yy_current_state = (int)
yy_def[yy_current_state];
1275 if (yy_current_state >= 60)
1278 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1281 return yy_current_state;
1300 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state)
1302 yy_current_state = (int)
yy_def[yy_current_state];
1303 if (yy_current_state >= 60)
1306 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + yy_c];
1307 yy_is_jam = (yy_current_state == 59);
1309 return yy_is_jam ? 0 : yy_current_state;
1314 static void yyunput(
int c,
char *yy_bp)
1323 if (yy_cp < YY_CURRENT_BUFFER_LVALUE->
yy_ch_buf + 2)
1332 *--dest = *--source;
1334 yy_cp += (int)(dest - source);
1335 yy_bp += (int)(dest - source);
1339 if (yy_cp < YY_CURRENT_BUFFER_LVALUE->
yy_ch_buf + 2)
1354 static int yyinput(
void)
1356 static int input(
void)
1601 if (new_buffer ==
NULL)
1653 if (!(yy_buffer_stack))
1662 if (!(yy_buffer_stack))
1663 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()");
1681 if (!(yy_buffer_stack))
1682 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()");
1746 YY_BUFFER_STATE
yy_scan_bytes(
const char *yybytes,
int _yybytes_len)
1759 for (i = 0; i < _yybytes_len; ++i)
1760 buf[i] = yybytes[i];
1776 #ifndef YY_EXIT_FAILURE 1777 #define YY_EXIT_FAILURE 2 1793 int yyless_macro_arg = (n); \ 1794 YY_LESS_LINENO(yyless_macro_arg); \ 1795 yytext[yyleng] = (yy_hold_char); \ 1796 (yy_c_buf_p) = yytext + yyless_macro_arg; \ 1797 (yy_hold_char) = *(yy_c_buf_p); \ 1798 *(yy_c_buf_p) = '\0'; \ 1799 yyleng = yyless_macro_arg; \ 1923 yyfree((yy_buffer_stack));
1938 static void yy_flex_strncpy(
char *s1,
const char *s2,
int n)
1942 for (i = 0; i < n; ++i)
1947 #ifdef YY_NEED_STRLEN 1948 static int yy_flex_strlen(
const char *s)
1951 for (n = 0; s[n]; ++n)
1973 return realloc(ptr, size);
1981 #define YYTABLES_NAME "yytables" #define NULL
連結リスト用のNULLポインタ
#define EOB_ACT_CONTINUE_SCAN
void yyrestart(FILE *input_file)
YY_EXTRA_TYPE yyget_extra(void)
#define YY_INPUT(buf, result, max_size)
struct yy_buffer_state * YY_BUFFER_STATE
#define YY_STATE_EOF(state)
void yyset_out(FILE *_out_str)
#define YY_RESTORE_YY_MORE_OFFSET
static void yy_init_buffer(YY_BUFFER_STATE b, FILE *file)
static void yyensure_buffer_stack(void)
static const YY_CHAR yy_meta[27]
static const flex_int16_t yy_accept[60]
static int yy_get_next_buffer(void)
int strlen(char *str)
NULL終端された文字列の長さを返す。NULL終端は長さに含まない。
void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)
#define EOB_ACT_LAST_MATCH
static yy_state_type yy_try_NUL_trans(yy_state_type current_state)
#define YY_CURRENT_BUFFER
static YY_BUFFER_STATE * yy_buffer_stack
#define YY_DO_BEFORE_ACTION
void yypush_buffer_state(YY_BUFFER_STATE new_buffer)
void yyset_debug(int debug_flag)
static char * yy_last_accepting_cpos
YY_BUFFER_STATE yy_scan_bytes(const char *bytes, int len)
static yy_state_type yy_last_accepting_state
unsigned int flex_uint32_t
static const YY_CHAR yy_ec[256]
void exit(void)
現在実行中のプロセスを終了させる。
YY_BUFFER_STATE yy_scan_string(const char *yy_str)
static int yy_init_globals(void)
void * malloc(unsigned int nbytes)
unsigned short int flex_uint16_t
#define YY_CURRENT_BUFFER_LVALUE
static const flex_int16_t yy_nxt[99]
#define YY_END_OF_BUFFER_CHAR
static const flex_int16_t yy_def[62]
#define YY_BUFFER_EOF_PENDING
static void yyunput(int c, char *buf_ptr)
#define EOB_ACT_END_OF_FILE
void yyset_in(FILE *_in_str)
static int yy_did_buffer_switch_on_eof
#define YY_FATAL_ERROR(msg)
YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size)
static const flex_int16_t yy_base[62]
static size_t yy_buffer_stack_max
void * memset(void *, const int, int32)
指定のByteブロックに対して、同じ値をNバイト分書き込む。
static yy_state_type yy_get_previous_state(void)
static void yy_load_buffer_state(void)
static size_t yy_buffer_stack_top
static void yynoreturn yy_fatal_error(const char *msg)
void * yyalloc(yy_size_t)
void yyset_lineno(int _line_number)
void yy_flush_buffer(YY_BUFFER_STATE b)
void * yyrealloc(void *, yy_size_t)
unsigned char flex_uint8_t
int32 fprintf(int, char *,...)
void yypop_buffer_state(void)
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
void yy_delete_buffer(YY_BUFFER_STATE b)
void yyset_extra(YY_EXTRA_TYPE user_defined)
static const flex_int16_t yy_chk[99]