forked from pyrex/chameleonic
Compare commits
1 Commits
ce3fc83221
...
sprintf
Author | SHA1 | Date | |
---|---|---|---|
e028209adf
|
@ -62,7 +62,7 @@ function fmt(f, ...)
|
|||||||
elseif m == "!" then
|
elseif m == "!" then
|
||||||
out ..= tostring(p)
|
out ..= tostring(p)
|
||||||
else
|
else
|
||||||
out ..= "(?!:"..m..":"..tostring(p)..")"
|
assert(false, tostr(m).."is not a formatting directive")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
out ..=sub(s,2)
|
out ..=sub(s,2)
|
||||||
|
Reference in New Issue
Block a user