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 * @param yyscanner The scanner object. * @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. */
| 2104 | * yy_scan_bytes() instead. |
| 2105 | */ |
| 2106 | YY_BUFFER_STATE yy_scan_string (const char * yystr , yyscan_t yyscanner) |
| 2107 | { |
| 2108 | |
| 2109 | return yy_scan_bytes( yystr, (int) strlen(yystr) , yyscanner); |
| 2110 | } |
| 2111 | |
| 2112 | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will |
| 2113 | * scan from a @e copy of @a bytes. |
nothing calls this directly
no test coverage detected