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

Add Lua 5.2 target

This commit is contained in:
Étienne Fildadut 2020-12-24 17:25:28 +01:00
parent bf4cadc349
commit 7e4b46ba7d
6 changed files with 1359 additions and 279 deletions

View file

@ -3,12 +3,14 @@ targetName = "Lua 5.3"
-- Unsuported features
tags.AttributeId = (t)
if t[2] then
error("target does not support variable attributes")
error("target "..targetName.." does not support variable attributes")
else
return t[1]
end
end
#placeholder("patch")
#local patch = output
#output = ""
#import("compiler.lua54", { patch = patch, loadPackage = false })