lgen.lua

changeset 5
7667b101cb1e
parent 3
b2df1b3f2c83
child 7
038275cd92ed
equal deleted inserted replaced
4:4cb0d1dbc65b 5:7667b101cb1e
1 1
2 module('lgen', package.seeall) 2 module('lgen', package.seeall)
3 -- export src dst hierarchy 3 -- export src dst hierarchy
4
5 -- Lua 5.1 setfenv/getfenv compatibility for Lua 5.2
6 local CE = require('compat_env')
7 _G.setfenv = CE.setfenv
8 _G.getfenv = CE.getfenv
4 9
5 require('scan') 10 require('scan')
6 require('handlers') 11 require('handlers')
7 -- globally add missing stuff 12 -- globally add missing stuff
8 require('luaext') 13 require('luaext')

mercurial