diff -r 4cb0d1dbc65b -r 7667b101cb1e lgen.lua --- a/lgen.lua Mon Sep 14 00:16:13 2009 +0300 +++ b/lgen.lua Sat Nov 01 23:34:21 2014 +0000 @@ -1,7 +1,12 @@ - + module('lgen', package.seeall) -- export src dst hierarchy +-- Lua 5.1 setfenv/getfenv compatibility for Lua 5.2 +local CE = require('compat_env') +_G.setfenv = CE.setfenv +_G.getfenv = CE.getfenv + require('scan') require('handlers') -- globally add missing stuff