MCPcopy Create free account
hub / github.com/F-Stack/f-stack / check_next

Function check_next

app/redis-6.2.6/deps/lua/src/llex.c:164–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

read_numeralFunction · 0.70
llexFunction · 0.70

Calls 1

strchrFunction · 0.85

Tested by

no test coverage detected