MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / testnext

Function testnext

third-party/lua-5.3.5/src/lparser.c:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 13

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
test_then_blockFunction · 0.70
ifstatFunction · 0.70
localstatFunction · 0.70
retstatFunction · 0.70

Calls 1

luaX_nextFunction · 0.70

Tested by 1

test_then_blockFunction · 0.56