MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / testnext

Function testnext

src/Chain/libraries/glua/lparser.cpp: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 13

check_matchFunction · 0.85
registerlocalvarFunction · 0.85
constructorFunction · 0.85
parlistFunction · 0.85
explistFunction · 0.85
assignmentFunction · 0.85
gotostatFunction · 0.85
fornumFunction · 0.85
forlistFunction · 0.85
ifstatFunction · 0.85
localstatFunction · 0.85
retstatFunction · 0.85

Calls 1

luaX_nextFunction · 0.85

Tested by

no test coverage detected