[libpeas/msvc: 9/12] Lua loader: Disable strict mode



commit 5aa55ebd02a8934efd49d2cff21f3768b15ef0d6
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Oct 15 14:55:58 2018 +0800

    Lua loader: Disable strict mode
    
    lgi added compatibility shims to support later Lua releases, which will
    not make strict mode happy.  Disable strict mode for now.

 loaders/lua5.1/resources/peas-lua-strict.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/loaders/lua5.1/resources/peas-lua-strict.lua b/loaders/lua5.1/resources/peas-lua-strict.lua
index 214b46c..1d37826 100644
--- a/loaders/lua5.1/resources/peas-lua-strict.lua
+++ b/loaders/lua5.1/resources/peas-lua-strict.lua
@@ -17,7 +17,7 @@
 --
 -- Modified version of: http://metalua.luaforge.net/src/lib/strict.lua.html
 
-__STRICT = true
+__STRICT = false
 
 local mt = getmetatable(_G)
 if mt == nil then


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