[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Keeping track of correct number of comment lines
From: |
Dmitry Podkuiko |
Subject: |
Keeping track of correct number of comment lines |
Date: |
Fri, 01 Apr 2005 14:30:55 -0500 |
Hello,
The comment in my language specification are denoted by the use of
brackets {blahbalhlbhahbhabh} like this. I keep track of comment lines
in the following fashion.
[\n] {yyline++;}
This is obviously not giving me the correct number of lines. When I find
an error it is offset by a few lines from the correct spot. So my
comment processing is obviously at fault.
Is there any way to fix this?
Dmitry
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Keeping track of correct number of comment lines,
Dmitry Podkuiko <=