MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / utf8esc

Function utf8esc

third-party/lua-5.3.5/src/llex.c:345–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344
345static void utf8esc (LexState *ls) {
346 char buff[UTF8BUFFSZ];
347 int n = luaO_utf8esc(buff, readutf8esc(ls));
348 for (; n > 0; n--) /* add 'buff' to string */
349 save(ls, buff[UTF8BUFFSZ - n]);
350}
351
352
353static int readdecesc (LexState *ls) {

Callers 1

read_stringFunction · 0.70

Calls 3

luaO_utf8escFunction · 0.70
readutf8escFunction · 0.70
saveFunction · 0.70

Tested by

no test coverage detected