[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Declared UpValues, change to Parser.
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 4 May 2016 21:33:16 -0300
> > while lastline~=line do lastline=lastline+1 emit("\n") end
>
> Better?:
>
> emit(("\n"):rep(line-lastline))
> lastline = line
Sure, but perhaps not as clear. Thanks for the feedback.
- References:
- Declared UpValues, change to Parser., Duane Leslie
- Re: Declared UpValues, change to Parser., Dirk Laurie
- Re: Declared UpValues, change to Parser., Luiz Henrique de Figueiredo
- Re: Declared UpValues, change to Parser., Luiz Henrique de Figueiredo
- Re: Declared UpValues, change to Parser., Daurnimator