aboutsummaryrefslogtreecommitdiff
path: root/c-api
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2015-06-02 15:14:31 +0200
committerPhilipp Janda <siffiejoe@gmx.net>2015-06-02 15:14:31 +0200
commit823345b8b4de9e2a646dbcd471e05a1c7598d378 (patch)
treeab4f94969bedef33b6ed90747a6c5110486d4832 /c-api
parentba065189ae67822ac9c69cc6ba633e3e8e123ef6 (diff)
downloadlua-compat-5.3-823345b8b4de9e2a646dbcd471e05a1c7598d378.tar.gz
lua-compat-5.3-823345b8b4de9e2a646dbcd471e05a1c7598d378.tar.bz2
lua-compat-5.3-823345b8b4de9e2a646dbcd471e05a1c7598d378.zip
Compress decimal escapes for string.format("%q").
Lua 5.2+ escape all control characters using decimal escape sequences. The previous code did the same but always used three decimals (possibly zero-padded) no matter the following character. The new version only uses all three decimals when another decimal character is following.
Diffstat (limited to 'c-api')
0 files changed, 0 insertions, 0 deletions