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

Function yyget_lineno

gecode/flatzinc/lexer.yy.cpp:2192–2200  ·  view source on GitHub ↗

Get the current line number. * @param yyscanner The scanner object. */

Source from the content-addressed store, hash-verified

2190 * @param yyscanner The scanner object.
2191 */
2192int yyget_lineno (yyscan_t yyscanner)
2193{
2194 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2195
2196 if (! YY_CURRENT_BUFFER)
2197 return 0;
2198
2199 return yylineno;
2200}
2201
2202/** Get the current column number.
2203 * @param yyscanner The scanner object.

Callers 5

yyerrorFunction · 0.85
yyassertFunction · 0.85
getArrayElementFunction · 0.85
getVarRefArgFunction · 0.85
yyparseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected