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

Function testnext

freebsd/contrib/openzfs/module/lua/lparser.c:99–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98
99static int testnext (LexState *ls, int c) {
100 if (ls->t.token == c) {
101 luaX_next(ls);
102 return 1;
103 }
104 else return 0;
105}
106
107
108static void check (LexState *ls, int c) {

Callers 12

check_matchFunction · 0.70
constructorFunction · 0.70
parlistFunction · 0.70
explistFunction · 0.70
assignmentFunction · 0.70
gotostatFunction · 0.70
fornumFunction · 0.70
forlistFunction · 0.70
ifstatFunction · 0.70
localstatFunction · 0.70
retstatFunction · 0.70
statementFunction · 0.70

Calls 1

luaX_nextFunction · 0.70

Tested by

no test coverage detected