mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 07:13:45 +01:00
Use tabs not spaces
This commit is contained in:
parent
a86b24eef5
commit
daa0251632
1
luon.lua
1
luon.lua
@ -168,6 +168,7 @@ end
|
||||
function read(self, ...)
|
||||
local read = assert(...)
|
||||
-- math.huge is serialized to inf, 0/0 is serialized to -nan
|
||||
-- TODO verify this is actually the case, see https://en.wikipedia.org/wiki/Printf_format_string
|
||||
setfenv(read, setmetatable({inf = math_huge, nan = 0/0}, {__index = self.aux_read}))
|
||||
local success, value_or_err = pcall(read)
|
||||
if success then
|
||||
|
Loading…
Reference in New Issue
Block a user