Re: [code] get current line number during lexing

From: Carl Sturtivant <sturtivant.att.gmail.com>
Date: Mon, 22 Feb 2016 20:12:16 -0600

Hello Mitchell,

On 2/22/2016 7:38 PM, Mitchell wrote:
> Hi Carl,
>
> On Mon, 22 Feb 2016, Carl Sturtivant wrote:
>
>> Hello,
>>
>> How do I do that?
>
> It's not ideal, but you can use
> `buffer:line_from_position(buffer.current_pos)`.
>
> Cheers,
> Mitchell

line_from_position is what I needed.
Carl.

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 22 Feb 2016 - 21:12:16 EST

This archive was generated by hypermail 2.2.0 : Tue 23 Feb 2016 - 06:50:48 EST