lua-users home
lua-l archive

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


On Mon, Apr 8, 2013 at 3:08 PM, Victor Bombi <sonoro@telefonica.net> wrote:
On lua51 I managed to get all the keywords (global definitions of functions
and tables and the functions in this tables) from some lua files which also
used require on other lua files.

The difference is that when modules are required with Lua 5.2 no globals are generated, which is why we now do

local mod = require 'mod'

You can look for entries in package.loaded to find those modules...(do a before-and-after comparison)