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

Function checknext

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

Source from the content-addressed store, hash-verified

110
111
112static void checknext (LexState *ls, int c) {
113 check(ls, c);
114 luaX_next(ls);
115}
116
117
118#define check_condition(ls,c,msg) { if (!(c)) luaX_syntaxerror(ls, msg); }

Callers 11

yindexFunction · 0.70
recfieldFunction · 0.70
constructorFunction · 0.70
bodyFunction · 0.70
assignmentFunction · 0.70
labelstatFunction · 0.70
whilestatFunction · 0.70
forbodyFunction · 0.70
fornumFunction · 0.70
forlistFunction · 0.70
test_then_blockFunction · 0.70

Calls 2

checkFunction · 0.70
luaX_nextFunction · 0.70

Tested by 1

test_then_blockFunction · 0.56