help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locations suggest


From: John W. Millaway
Subject: Re: Locations suggest
Date: Thu, 3 Jan 2002 08:56:46 -0800 (PST)

> Akim> I think it is not a good because there are too many different
> Akim> ways locations have to be computed.  And yet for the sole
> Akim> yylineno, flex is not satisfying.  Rather, you should depend on
> Akim> the various hooks to have your scanner compute what you need.

The line number will be the number of newlines encountered (i.e., plus one),
and the column is the number of characters encountered since the previous
newline. What else do you have in mind?



__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]