Parser.getCurrentLine

uint getCurrentLine()

Retrieves the line currently parsed, starting from 1.

This function has defined behaviour only while parsing; calling this function from outside the signal handlers emitted by the parser will yield 0.

Returns

the currently parsed line, or 0.