lua: push characters as unformatted 1-character strings

Since Lua 5.3 the "%c" format character in lua_pushfstring will produce
the string "<\XXX>" (XXX being a decimal code sequence) when
given unprintable characters.

Use lua_pushlstring instead to reproduce the old behavior.
This commit is contained in:
Nils Gladitz 2015-07-01 12:24:12 +02:00
commit ca208cfe35
6 changed files with 37 additions and 4 deletions

View file

@ -138,6 +138,7 @@ CPP_TEST_CASES += \
casts \
char_binary \
char_strings \
chartest \
class_forward \
class_ignore \
class_scope_weird \