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

Function testnext

third-party/lua-5.1.5/src/lparser.c:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 10

check_matchFunction · 0.70
constructorFunction · 0.70
parlistFunction · 0.70
explist1Function · 0.70
assignmentFunction · 0.70
fornumFunction · 0.70
forlistFunction · 0.70
localstatFunction · 0.70
statementFunction · 0.70
chunkFunction · 0.70

Calls 1

luaX_nextFunction · 0.70

Tested by

no test coverage detected