diff options
| author | ruki <[email protected]> | 2015-06-06 22:35:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-06 22:35:48 +0800 |
| commit | 7c091cff74f038381c5e16576afeb7d4713bc917 (patch) | |
| tree | dd3490039c2d114c471151819d62144d9549546e /xmake/scripts/tools/verbose.lua | |
| parent | 6222a6ede3f06a0c67eccf0225d0ffb88cf9d4c8 (diff) | |
add warning and escape verboses
Diffstat (limited to 'xmake/scripts/tools/verbose.lua')
| -rw-r--r-- | xmake/scripts/tools/verbose.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/tools/verbose.lua b/xmake/scripts/tools/verbose.lua index fdcfb3e46..fcf72c3f0 100644 --- a/xmake/scripts/tools/verbose.lua +++ b/xmake/scripts/tools/verbose.lua @@ -33,7 +33,7 @@ function verbose.main(...) -- verbose all if xmake._OPTIONS.verbose then for _, v in ipairs(...) do - io.write(string.format("%s ", v:gsub("%%20", " "):gsub("%%3d", "="):gsub("%%22", "\""))) + io.write(string.format("%s ", v:gsub("%%(%x%x)", function (w) return string.char(tonumber(w, 16)) end))) end io.write("\n") end |
