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

Function skip_sep

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

Source from the content-addressed store, hash-verified

209
210
211static size_t skip_sep (LexState *ls) {
212 size_t count = 0;
213 int s = ls->current;
214 lua_assert(s == '[' || s == ']');
215 save_and_next(ls);
216 while (ls->current == '=') {
217 save_and_next(ls);
218 count++;
219 }
220
221 return (ls->current == s) ? count + 2
222 : (count == 0) ? 1
223 : 0;
224}
225
226
227static void read_long_string (LexState *ls, SemInfo *seminfo, size_t sep) {

Callers 2

read_long_stringFunction · 0.70
llexFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected