MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / skip

Function skip

Dependencies/lua/src/ltests.c:1297–1305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1295static const char *const delimits = " \t\n,;";
1296
1297static void skip (const char **pc) {
1298 for (;;) {
1299 if (**pc != '\0' && strchr(delimits, **pc)) (*pc)++;
1300 else if (**pc == '#') { /* comment? */
1301 while (**pc != '\n' && **pc != '\0') (*pc)++; /* until end-of-line */
1302 }
1303 else break;
1304 }
1305}
1306
1307static int getnum_aux (lua_State *L, lua_State *L1, const char **pc) {
1308 int res = 0;

Callers 4

getnum_auxFunction · 0.70
getstring_auxFunction · 0.70
getindex_auxFunction · 0.70
runCFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected