1
0
Fork 0
mirror of https://github.com/Reuh/candran.git synced 2025-10-27 09:59:29 +00:00

Fix Lua < 5.4 compiler with new preprocessor env

This commit is contained in:
Étienne Fildadut 2021-06-17 20:18:38 +02:00
parent ff6d7f8feb
commit 01e808e2e6
4 changed files with 4 additions and 4 deletions

View file

@ -33,6 +33,6 @@ end
#local patch = output
#output = ""
#import("compiler.luajit", { patch = patch, loadPackage = false })
#import("compiler.luajit", { preprocessorEnv = { patch = patch }, loadPackage = false })
return luajit

View file

@ -30,6 +30,6 @@ end
#local patch = output
#output = ""
#import("compiler.lua53", { patch = patch, loadPackage = false })
#import("compiler.lua53", { preprocessorEnv = { patch = patch }, loadPackage = false })
return lua53

View file

@ -13,6 +13,6 @@ end
#local patch = output
#output = ""
#import("compiler.lua54", { patch = patch, loadPackage = false })
#import("compiler.lua54", { preprocessorEnv = { patch = patch }, loadPackage = false })
return lua54

View file

@ -33,6 +33,6 @@ end
#local patch = output
#output = ""
#import("compiler.lua52", { patch = patch, loadPackage = false })
#import("compiler.lua52", { preprocessorEnv = { patch = patch }, loadPackage = false })
return lua52