[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getting current line being parsed
From: |
Roberto Diaz |
Subject: |
getting current line being parsed |
Date: |
Mon, 06 Jun 2005 15:20:37 +0200 |
Hello everybody.
I need your advice.. I need to access the line into which resides the
last matched string. I am looking out in the documentation but I only
see yylineno as a way to figure out this, I wonder if we have something
better.
for example:
line:
my_token1 my_token2 my_token3 \n
lets suppose I have matched my_token3, Now I would like to store the
whole line. Is there some easy way to accomplish this?
Thank you very much indeed
Rob.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- getting current line being parsed,
Roberto Diaz <=