Lines Matching +full:c +full:- +full:45
2 #line 3 "lex.c"
16 /* First, we deal with platform-specific or compiler-specific issues. */
18 /* begin standard C headers. */
24 /* end standard C headers. */
31 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
60 #define INT8_MIN (-128)
63 #define INT16_MIN (-32767-1)
66 #define INT32_MIN (-2147483647-1)
91 /* The "const" storage-class-modifier is valid. */
110 /* Returned upon end-of-file. */
115 * we want to instead treat it as an 8-bit unsigned char, hence the
118 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) argument
121 * but we do it the disgusting crufty way forced on us by the ()-less
130 #define YY_START (((yy_start) - 1) / 2)
179 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
184 #define unput(c) yyunput( c, (yytext_ptr) ) argument
205 /* Whether we "own" the buffer - i.e., we know we created it,
240 * possible backing-up.
317 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
327 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
330 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
353 * corresponding action - sets up yytext.
357 yyleng = (size_t) (yy_cp - yy_bp); \
430 45, 1, 45, 45, 45, 45, 45, 46, 47, 47,
434 47, 47, 47, 47, 0, 45, 45
444 25, 24, 15, 23, 15, 45, 3, 45, 45, 45,
445 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
446 45, 45, 45, 45, 45, 45, 45, 45, 45
456 19, 18, 15, 13, 9, 3, 45, 45, 45, 45,
457 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
458 45, 45, 45, 45, 45, 45, 45, 45, 45
478 * Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan
529 #line 530 "lex.c"
534 /* Special case for "unistd.h", since it is non-ANSI. We include it way
548 These are made visible to non-reentrant scanners for convenience. */
582 extern "C" int yywrap (void );
624 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
626 int c = '*'; \
629 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
630 buf[n] = (char) c; \
631 if ( c == '\n' ) \
632 buf[n++] = (char) c; \
633 if ( c == EOF && ferror( yyin ) ) \
655 /* No semi-colon after return; correct usage is to write "yyterminate();" -
663 /* Number of entries by which start-condition stack grows. */
675 /* Default declaration of generated scanner - a define so the user can
711 #line 712 "lex.c"
739 while ( 1 ) /* loops until end-of-file is reached */
875 #line 876 "lex.c"
882 int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
888 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
897 * back-up) that will match for the new input source.
899 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
900 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
901 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
908 * end-of-buffer state). Contrast this with the test
911 if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
961 * YY_NULL, it'll still work - another
990 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1003 "fatal flex scanner internal error--no action found" );
1008 /* yy_get_next_buffer - try to read in a new buffer
1011 * EOB_ACT_LAST_MATCH -
1012 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1013 * EOB_ACT_END_OF_FILE - end of file
1017 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; in yy_get_next_buffer()
1022 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) in yy_get_next_buffer()
1024 "fatal flex scanner internal error--end of buffer missed" ); in yy_get_next_buffer()
1026 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) in yy_get_next_buffer()
1028 if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) in yy_get_next_buffer()
1048 number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; in yy_get_next_buffer()
1053 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) in yy_get_next_buffer()
1057 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; in yy_get_next_buffer()
1062 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; in yy_get_next_buffer()
1065 { /* Not enough room in the buffer - grow it. */ in yy_get_next_buffer()
1071 (int) ((yy_c_buf_p) - b->yy_ch_buf); in yy_get_next_buffer()
1073 if ( b->yy_is_our_buffer ) in yy_get_next_buffer()
1075 yy_size_t new_size = b->yy_buf_size * 2; in yy_get_next_buffer()
1078 b->yy_buf_size += b->yy_buf_size / 8; in yy_get_next_buffer()
1080 b->yy_buf_size *= 2; in yy_get_next_buffer()
1082 b->yy_ch_buf = (char *) in yy_get_next_buffer()
1084 yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); in yy_get_next_buffer()
1088 b->yy_ch_buf = 0; in yy_get_next_buffer()
1090 if ( ! b->yy_ch_buf ) in yy_get_next_buffer()
1092 "fatal error - scanner input buffer overflow" ); in yy_get_next_buffer()
1094 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; in yy_get_next_buffer()
1096 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - in yy_get_next_buffer()
1097 number_to_move - 1; in yy_get_next_buffer()
1105 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), in yy_get_next_buffer()
1108 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yy_get_next_buffer()
1122 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = in yy_get_next_buffer()
1130 if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { in yy_get_next_buffer()
1133 …YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_… in yy_get_next_buffer()
1134 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) in yy_get_next_buffer()
1139 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
1140 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; in yy_get_next_buffer()
1142 (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; in yy_get_next_buffer()
1147 /* yy_get_previous_state - get the state just before the EOB char was reached */
1176 /* yy_try_NUL_trans - try to make a transition on the NUL character
1199 yy_is_jam = (yy_current_state == 45); in yy_try_NUL_trans()
1212 int c; in yyinput() local
1222 if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) in yyinput()
1228 yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); in yyinput()
1270 c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ in yyinput()
1274 return c; in yyinput()
1281 * @note This function does not reset the start condition to @c INITIAL .
1316 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); in yy_switch_to_buffer()
1317 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yy_switch_to_buffer()
1333 (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; in yy_load_buffer_state()
1334 (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; in yy_load_buffer_state()
1335 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; in yy_load_buffer_state()
1341 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1353 b->yy_buf_size = size; in yy_create_buffer()
1356 * we need to put in 2 end-of-buffer characters. in yy_create_buffer()
1358 b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); in yy_create_buffer()
1359 if ( ! b->yy_ch_buf ) in yy_create_buffer()
1362 b->yy_is_our_buffer = 1; in yy_create_buffer()
1382 if ( b->yy_is_our_buffer ) in yy_delete_buffer()
1383 yyfree((void *) b->yy_ch_buf ); in yy_delete_buffer()
1403 b->yy_input_file = file; in yy_init_buffer()
1404 b->yy_fill_buffer = 1; in yy_init_buffer()
1411 b->yy_bs_lineno = 1; in yy_init_buffer()
1412 b->yy_bs_column = 0; in yy_init_buffer()
1415 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; in yy_init_buffer()
1421 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1429 b->yy_n_chars = 0; in yy_flush_buffer()
1431 /* We always need two end-of-buffer characters. The first causes in yy_flush_buffer()
1432 * a transition to the end-of-buffer state. The second causes in yy_flush_buffer()
1435 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; in yy_flush_buffer()
1436 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; in yy_flush_buffer()
1438 b->yy_buf_pos = &b->yy_ch_buf[0]; in yy_flush_buffer()
1440 b->yy_at_bol = 1; in yy_flush_buffer()
1441 b->yy_buffer_status = YY_BUFFER_NEW; in yy_flush_buffer()
1465 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); in yypush_buffer_state()
1466 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); in yypush_buffer_state()
1491 --(yy_buffer_stack_top); in yypop_buffer_state()
1526 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ in yyensure_buffer_stack()
1545 /** Setup the input buffer state to scan directly from a user-specified character buffer.
1556 base[size-2] != YY_END_OF_BUFFER_CHAR || in yy_scan_buffer()
1557 base[size-1] != YY_END_OF_BUFFER_CHAR ) in yy_scan_buffer()
1565 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ in yy_scan_buffer()
1566 b->yy_buf_pos = b->yy_ch_buf = base; in yy_scan_buffer()
1567 b->yy_is_our_buffer = 0; in yy_scan_buffer()
1568 b->yy_input_file = 0; in yy_scan_buffer()
1569 b->yy_n_chars = b->yy_buf_size; in yy_scan_buffer()
1570 b->yy_is_interactive = 0; in yy_scan_buffer()
1571 b->yy_at_bol = 1; in yy_scan_buffer()
1572 b->yy_fill_buffer = 0; in yy_scan_buffer()
1573 b->yy_buffer_status = YY_BUFFER_NEW; in yy_scan_buffer()
1582 * @param yystr a NUL-terminated string to scan
1625 b->yy_is_our_buffer = 1; in yy_scan_bytes()
1739 /* Initialization is the same as for the non-reentrant scanner. in yy_init_globals()
1750 /* Defined in main.c */ in yy_init_globals()
1765 /* yylex_destroy is for both reentrant and non-reentrant scanners. */
1780 /* Reset the globals. This is important in a non-reentrant scanner so the next time in yylex_destroy()
1821 * because both ANSI C and C++ allow castless assignment from in yyrealloc()
1852 int c; in getstring() local
1854 while(i < sizeof(x) - 1 && (c = input()) != EOF){ in getstring()
1856 x[i++] = c; in getstring()
1860 if(c == '\n'){ in getstring()
1865 if(c == '\\'){ in getstring()
1869 if(c == '\"') in getstring()
1871 x[i++] = c; in getstring()