Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */
| 3690 | * yy_scan_bytes() instead. |
| 3691 | */ |
| 3692 | YY_BUFFER_STATE yy_scan_string (const char * yystr ) |
| 3693 | { |
| 3694 | |
| 3695 | return yy_scan_bytes( yystr, (int) strlen(yystr) ); |
| 3696 | } |
| 3697 | |
| 3698 | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will |
| 3699 | * scan from a @e copy of @a bytes. |
nothing calls this directly
no test coverage detected