MCPcopy Create free account
hub / github.com/DFHack/dfhack / esccheck

Function esccheck

depends/lua/src/llex.c:306–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305
306static void esccheck (LexState *ls, int c, const char *msg) {
307 if (!c) {
308 if (ls->current != EOZ)
309 save_and_next(ls); /* add current to buffer for error message */
310 lexerror(ls, msg, TK_STRING);
311 }
312}
313
314
315static 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