Controlling the lexer
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Controlling the lexer
- From: nt <niklas@...>
- Date: 2005年6月07日 17:29:06 -0300
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