MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / esccheck

Function esccheck

3rd/lua-5.4.3/src/llex.c:319–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317
318
319static void esccheck (LexState *ls, int c, const char *msg) {
320 if (!c) {
321 if (ls->current != EOZ)
322 save_and_next(ls); /* add current to buffer for error message */
323 lexerror(ls, msg, TK_STRING);
324 }
325}
326
327
328static int gethexa (LexState *ls) {

Callers 4

gethexaFunction · 0.85
readutf8escFunction · 0.85
readdecescFunction · 0.85
read_stringFunction · 0.85

Calls 1

lexerrorFunction · 0.85

Tested by

no test coverage detected