| 1672 | static int yyinput() |
| 1673 | #else |
| 1674 | static int input() |
| 1675 | #endif |
| 1676 | { |
| 1677 | int c; |
| 1678 | |
| 1679 | *yy_c_buf_p = yy_hold_char; |
| 1680 | |
| 1681 | if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) |
| 1682 | { |
| 1683 | /* yy_c_buf_p now points to the character we want to return. |
| 1684 | * If this occurs *before* the EOB characters, then it's a |
| 1685 | * valid NUL; if not, then we've hit the end of the buffer. |
| 1686 | */ |
| 1687 | if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) |
| 1688 | /* This was really a NUL. */ |
| 1689 | *yy_c_buf_p = '\0'; |
| 1690 | |
| 1691 | else |
| 1692 | { /* need more input */ |
| 1693 | yytext_ptr = yy_c_buf_p; |
| 1694 | ++yy_c_buf_p; |
| 1695 | |
| 1696 | switch ( yy_get_next_buffer() ) |
| 1697 | { |
| 1698 | case EOB_ACT_END_OF_FILE: |
| 1699 | { |
| 1700 | if ( yywrap() ) |
| 1701 | { |
| 1702 | yy_c_buf_p = |
| 1703 | yytext_ptr + YY_MORE_ADJ; |
| 1704 | return EOF; |
| 1705 | } |
| 1706 | |
| 1707 | if ( ! yy_did_buffer_switch_on_eof ) |
| 1708 | YY_NEW_FILE; |
| 1709 | #ifdef __cplusplus |
| 1710 | return yyinput(); |
| 1711 | #else |
| 1712 | return input(); |
| 1713 | #endif |
| 1714 | } |
| 1715 | |
| 1716 | case EOB_ACT_CONTINUE_SCAN: |
| 1717 | yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; |
| 1718 | break; |
| 1719 | |
| 1720 | case EOB_ACT_LAST_MATCH: |
| 1721 | #ifdef __cplusplus |
| 1722 | YY_FATAL_ERROR( |
| 1723 | "unexpected last match in yyinput()" ); |
| 1724 | #else |
| 1725 | YY_FATAL_ERROR( |
| 1726 | "unexpected last match in input()" ); |
| 1727 | #endif |
| 1728 | } |
| 1729 | } |
| 1730 | } |
| 1731 |
nothing calls this directly
no test coverage detected