lua-users home
lua-l archive

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


Hello,

I am piecing together a large string for evaluation by lua_buffer()
and would like to include the equivalent of the C preprocessor
#line directive.  I can easily add special comments to the string,
and intercept them in a chunk reader, but as far as I can see,
there is no way to access the lexer state without replacing llex.c.

Any thoughts?  I am using version 5.0.2.

-niklas