[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is "scripting" truly Lua's future?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 15 Sep 2008 20:38:02 -0300
> Yes, but the line numbers in the debug information will still be wrong
> --- because the compiler's seen 15 or so lines before the main text
Just don't use any newlines in the header part...
> Is there any way to reset the compiler's line number count in the middle
> of a file?
No. There's a mismatch between the time the lexer asks for more text from
the reader and the time it uses it...