MCPcopy Create free account
hub / github.com/Gecode/gecode / yyset_extra

Function yyset_extra

gecode/flatzinc/lexer.yy.cpp:2256–2260  ·  view source on GitHub ↗

Set the user-defined data. This data is never touched by the scanner. * @param user_defined The data to be associated with this scanner. * @param yyscanner The scanner object. */

Source from the content-addressed store, hash-verified

2254 * @param yyscanner The scanner object.
2255 */
2256void yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
2257{
2258 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2259 yyextra = user_defined ;
2260}
2261
2262/** Set the current line number.
2263 * @param _line_number line number

Callers 2

parseFunction · 0.85
yylex_init_extraFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected