MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / checknext

Function checknext

deps/lua/src/lparser.c:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static void checknext (LexState *ls, int c) {
95 check(ls, c);
96 luaX_next(ls);
97}
98
99
100#define check_condition(ls,c,msg) { if (!(c)) luaX_syntaxerror(ls, msg); }

Callers 10

yindexFunction · 0.85
recfieldFunction · 0.85
constructorFunction · 0.85
bodyFunction · 0.85
assignmentFunction · 0.85
whilestatFunction · 0.85
forbodyFunction · 0.85
fornumFunction · 0.85
forlistFunction · 0.85
test_then_blockFunction · 0.85

Calls 2

checkFunction · 0.85
luaX_nextFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68