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

Function testnext

third-party/lua-5.2.4/src/lparser.c:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101static int testnext (LexState *ls, int c) {
102 if (ls->t.token == c) {
103 luaX_next(ls);
104 return 1;
105 }
106 else return 0;
107}
108
109
110static 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