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

Function testnext

Source/Misc/lua/src/lua.c:7656–7662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7654
7655
7656static int testnext (LexState *ls, int c) {
7657if (ls->t.token == c) {
7658luaX_next(ls);
7659return 1;
7660}
7661else return 0;
7662}
7663
7664
7665static void check (LexState *ls, int c) {

Callers 10

check_matchFunction · 0.85
constructorFunction · 0.85
parlistFunction · 0.85
explist1Function · 0.85
assignmentFunction · 0.85
fornumFunction · 0.85
forlistFunction · 0.85
localstatFunction · 0.85
statementFunction · 0.85
chunkFunction · 0.85

Calls 1

luaX_nextFunction · 0.85

Tested by

no test coverage detected