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

Function utf8esc

third-party/lua-5.5.0/src/llex.c:383–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381
382
383static void utf8esc (LexState *ls) {
384 char buff[UTF8BUFFSZ];
385 int n = luaO_utf8esc(buff, readutf8esc(ls));
386 for (; n > 0; n--) /* add 'buff' to string */
387 save(ls, buff[UTF8BUFFSZ - n]);
388}
389
390
391static 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