lua-users home
lua-l archive

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



I am posting this question both the the developer of LuaIDE and to the Lua list, because I think it might be interesting to others.

I am porting LuaIDE to Lua 5.1 and have found a function lua_getlineinfo() that was added to the 5.0 Lua interpreter included with that source. I see that 5.1 has a new 'L' flag passed to lua_getinfo() that appears to do the same thing or something similar. But I can't find any documentation of this flag in the released docs.

Can anyone tell me what this flag is supposed to do, or if it is documented anywhere?

--
chris marrin              ,""$, "As a general rule,don't solve puzzles
chris@marrin.com        b`    $  that open portals to Hell" ,,.
        ,.`           ,b`    ,`                            , 1$'
     ,|`             mP    ,`                              :$$'     ,mm
   ,b"              b"   ,`            ,mm      m$$    ,m         ,`P$$
  m$`             ,b`  .` ,mm        ,'|$P   ,|"1$`  ,b$P       ,`  :$1
 b$`             ,$: :,`` |$$      ,`   $$` ,|` ,$$,,`"$$     .`    :$|
b$|            _m$`,:`    :$1   ,`     ,$Pm|`    `    :$$,..;"'     |$:
P$b,      _;b$$b$1"       |$$ ,`      ,$$"             ``'          $$
 ```"```'"    `"`         `""`        ""`                          ,P`