MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / skip_sep

Function skip_sep

Source/Misc/lua/src/lua.c:6921–6931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6919
6920
6921static int skip_sep (LexState *ls) {
6922int count = 0;
6923int s = ls->current;
6924lua_assert(s == '[' || s == ']');
6925save_and_next(ls);
6926while (ls->current == '=') {
6927save_and_next(ls);
6928count++;
6929}
6930return (ls->current == s) ? count : (-count) - 1;
6931}
6932
6933
6934static 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