get_current_line
Description:
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.
Parameters:
this |
a parser |
Returns:
the currently parsed line, or 0. |