lua-users home
lua-l archive

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


> 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...