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

Lua <5.4: Only error when the variable is declared with an attribute

This commit is contained in:
Étienne Fildadut 2020-07-04 23:42:51 +02:00
parent 10be62a2fe
commit cecb2aea03
2 changed files with 41 additions and 17 deletions

View file

@ -1,7 +1,13 @@
targetName = "Lua 5.3"
-- Unsuported features
tags.AttributeId = nil
tags.AttributeId = (t)
if t[2] then
error("target does not support variable attributes")
else
return t[1]
end
end
#local patch = output
#output = ""