Improved the function upvalue situation margially.
This commit is contained in:
parent
45d3958e17
commit
b62c4c1c6c
|
@ -362,7 +362,13 @@ return function (value, display, l, format_value)
|
||||||
if info.nups > 0 and (not info.builtin and not info.docs) then
|
if info.nups > 0 and (not info.builtin and not info.docs) then
|
||||||
l[#l+1] = indent
|
l[#l+1] = indent
|
||||||
l[#l+1] = '-- Up values:'
|
l[#l+1] = '-- Up values:'
|
||||||
format_value(info.ups, DISPLAY.INLINE, l)
|
for up_name, up_value in pairs(info.ups) do
|
||||||
|
l[#l+1] = indent
|
||||||
|
l[#l+1] = '-- '
|
||||||
|
l[#l+1] = up_name
|
||||||
|
l[#l+1] = ' = '
|
||||||
|
format_value(up_value, DISPLAY.HIDE, l)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Ignore spacing and function body if it's a Λ string.
|
-- Ignore spacing and function body if it's a Λ string.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user