lua-users home
lua-l archive

Re: Lua registry, environment, and threads.

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


Roberto Ierusalimschy wrote:
Yes. The semantics is exactly as Mark explained:
in t do command end
is translated to
 do
 local _temp = t;
 <command>
 end
and all acesses to <global> inside command are changed to _temp.global.
Thanks. Looks like my code will survive the change :-)
 Enrico

AltStyle によって変換されたページ (->オリジナル) /