UVL: Export raw value of "valueof" for references
This commit is contained in:
parent
1a4c192c65
commit
38691ce540
1 changed files with 1 additions and 0 deletions
|
@ -579,6 +579,7 @@ function UVL._parse_var(self, scheme, k, v)
|
||||||
end
|
end
|
||||||
t.type = "reference"
|
t.type = "reference"
|
||||||
t.values = values
|
t.values = values
|
||||||
|
t.valueof = type(v2) == "table" and v2 or {v2}
|
||||||
elseif k == "required" then
|
elseif k == "required" then
|
||||||
t[k] = _bool(v2)
|
t[k] = _bool(v2)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue