MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / testnext

Function testnext

lua/lparser.c:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80
81static int testnext (LexState *ls, int c) {
82 if (ls->t.token == c) {
83 luaX_next(ls);
84 return 1;
85 }
86 else return 0;
87}
88
89
90static void check (LexState *ls, int c) {

Callers 11

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

Calls 1

luaX_nextFunction · 0.85

Tested by

no test coverage detected