diff options
author | Steven Barth <steven@midlink.org> | 2008-09-10 15:35:11 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-10 15:35:11 +0000 |
commit | 38691ce540ebfacfbf35273a73195a6b2cc2879a (patch) | |
tree | 1afe0f5457a80b9fac247c04731e2a7264797ac9 /libs/uvl/luasrc | |
parent | 1a4c192c65c166304014075857d7568cb4e7ae5b (diff) |
UVL: Export raw value of "valueof" for references
Diffstat (limited to 'libs/uvl/luasrc')
-rw-r--r-- | libs/uvl/luasrc/uvl.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/uvl/luasrc/uvl.lua b/libs/uvl/luasrc/uvl.lua index f3334615e6..52531be32d 100644 --- a/libs/uvl/luasrc/uvl.lua +++ b/libs/uvl/luasrc/uvl.lua @@ -579,6 +579,7 @@ function UVL._parse_var(self, scheme, k, v) end t.type = "reference" t.values = values + t.valueof = type(v2) == "table" and v2 or {v2} elseif k == "required" then t[k] = _bool(v2) else |