|
|
||
|
So one would have to do something like: lua_dostring(L, "local pushed = a.b.c[1].d"); lua_to<mytype>(L, -1); lua_pop(L, 1); and eventually catch error? (what if b is nil for example?) It is just that my configuration shall be a valid lua expression, so I don't really feel like I shall tokenize and interpret it myself.
-- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- --