MCPcopy Create free account
hub / github.com/KDE/kdevelop / cmListFileLexer_yy_scan_string

Function cmListFileLexer_yy_scan_string

plugins/cmake/parser/cmListFileLexer.c:1982–1986  ·  view source on GitHub ↗

Setup the input buffer state to scan a string. The next call to cmListFileLexer_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 * cmListFileLexer_yy_scan_bytes() instead. */

Source from the content-addressed store, hash-verified

1980 * cmListFileLexer_yy_scan_bytes() instead.
1981 */
1982YY_BUFFER_STATE cmListFileLexer_yy_scan_string (yyconst char * yystr , yyscan_t yyscanner)
1983{
1984
1985 return cmListFileLexer_yy_scan_bytes(yystr,(int) strlen(yystr) ,yyscanner);
1986}
1987
1988/** Setup the input buffer state to scan the given bytes. The next call to cmListFileLexer_yylex() will
1989 * scan from a @e copy of @a bytes.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected