MCPcopy Create free account
hub / github.com/defold/defold / skip_sep

Function skip_sep

engine/lua/src/lua/llex.c:216–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

read_long_stringFunction · 0.85
llexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected