MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / check_next

Function check_next

deps/lua/src/llex.c:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163static int check_next (LexState *ls, const char *set) {
164 if (!strchr(set, ls->current))
165 return 0;
166 save_and_next(ls);
167 return 1;
168}
169
170
171static void buffreplace (LexState *ls, char from, char to) {

Callers 2

read_numeralFunction · 0.85
llexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected